-
Notifications
You must be signed in to change notification settings - Fork 7
Deployment guide
- Live Media Streamer MUST be installed in usr/local/ in order to use LMS webGUI.
- Web GUI tested on Google Chrome and Mozilla Firefox web browsers
There are two servers you can use to run the LMS WebGUI.
Rack server, recommended for testing and Nginx recommended for production.
cd api
rackup -p<port>
Before using Ngnix it has to be configured. An example file is provided at .../livemediastreamerwebgui/api/nginx.conf.example. To set it up, copy this example file to the default Ngnix configuration location.
sudo cp /path/to/livemediastreamerwebgui/api/nginx.conf.example /etc/nginx/nginx.conf
Edit the /etc/nginx/nginx.conf file using your favorite editor and modify the following lines properly. You only need to set them to the path where you have downloaded the LMS WebGUI.
server unix:/path/to/livemediastreamerwebgui/api/tmp/sockets/unicorn.sock root /path/to/livemediastreamerwebgui/api/public;
After configuring it, execute this:
sudo service nginx restart
unicorn -c unicorn.rb -D
Once the server is up, the GUI is accessible using a web browser, introducing the server address in the browser address bar.
- Rack default port is 9292 (e.g localhost:9292)
- Nginx port is 80 (e.g localhost)