https://github.com/aeon0/mlpipe-viewer
ReactJS App for managing machine learning
https://github.com/aeon0/mlpipe-viewer
Last synced: over 1 year ago
JSON representation
ReactJS App for managing machine learning
- Host: GitHub
- URL: https://github.com/aeon0/mlpipe-viewer
- Owner: aeon0
- License: mit
- Created: 2018-10-20T14:17:12.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-29T16:40:14.000Z (over 3 years ago)
- Last Synced: 2025-01-23T14:55:31.161Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 2.05 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# MLPipe Viewer
ReactJS frontend implementation for the [MLPipe-Manager](https://github.com/j-o-d-o/MLPipe-Manager) server API to manage your tensorflow models and training results. Features including: User Managment, start training on remote machine, manage trainings, visualize results.
## Getting started
#### Prerequisite
- A working [MLPipe-Manager API](https://github.com/j-o-d-o/MLPipe-Manager)
```bash
# Clone the MLPipe-Viewer project from github
>> git clone https://github.com/j-o-d-o/MLpipe-Viewer.git
>> cd MLPipe-Viewer
```
Edit the file __src/config.js__ and adapt the the apiUrl with the endpoint for your MLPipe-Manager set up.
Per default the app will run on Port 9000. Change the Port in __server.js__ as needed.
```bash
# Install dependencies & build & start
>> npm install
>> npm run build
>> node server.js
# or to start with pm2
pm2 start server.js --name MLPipe-Viewer
```
## The Looks
#### Job Managment

#### Training Info

## Serve via Nginx (optional)
In case you want to serve the GUI via Nginx follow these steps.
Prequists: Nginx installed, Certbot installed, Domain registered
- Navigate to `>> cd /etc/nginx/sites-available`
- Create file `>> sudo nano my-domain.com` and use the settings below
- Create symbolic link `>> sudo ln -s /etc/nginx/sites-available/my-domain.com /etc/nginx/sites-enabled/`
- Restart Nginx `>> sudo service nginx restart`
```
# Nginx settings for my-domain.com
# Redirect http to https
server {
listen 80;
listen [::]:80;
server_name my-domain.com;
return 301 https://my-domain.com$request_uri;
}
# Main config
server {
listen 443 ssl;
server_name my-domain.com;
location / {
proxy_pass http://localhost:9000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
```
Next step is to create the certificate. You can either buy a https certificate or create one yourself with certbot by executing:
`>> sudo certbot --nginx -d my-domain.com` and restart nginx again since certbot added the certificate location the the nginx config file.
A good tutorial on how to setup certbot can be found [here](https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04)