First commit
This commit is contained in:
35
README.md
Normal file
35
README.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# Matlab Hub
|
||||
|
||||
Start proxied matlab instances from a webpage using Nginx.
|
||||
|
||||
## Preequisites
|
||||
|
||||
Linux with Matlab and Python3
|
||||
|
||||
## Installation
|
||||
|
||||
make matlabhub/config.py:
|
||||
|
||||
license_file: 'path_to_license.lic'
|
||||
port_range: [10000, 65536]
|
||||
|
||||
install:
|
||||
|
||||
sudo apt install nginx screen
|
||||
sudo pip install matlabhub
|
||||
sudo cp matlab /etc/nginx/sites-available/
|
||||
sudo ln -s /etc/nginx/sites-available/matlab /etc/nginx/sites-enabled/matlab
|
||||
sudo cp matlab.service /lib/systemd/system/
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable nginx
|
||||
sudo systemctl enable matlab
|
||||
sudo service nginx start
|
||||
sudo service matlab start
|
||||
|
||||
## Configuration
|
||||
|
||||
Change the user, path to the socket file and the port (default: 8585) in matlab and matlab.service.
|
||||
|
||||
## Usage
|
||||
|
||||
Browse to http://127.0.0.1:8585
|
||||
Reference in New Issue
Block a user