Name: vmmaster-frontend
Owner: 2GIS
Description: Overview vmmaster session and tests specific info
Created: 2015-03-17 05:59:07.0
Updated: 2018-02-20 05:18:53.0
Pushed: 2018-02-16 06:33:58.0
Homepage: null
Size: 1863
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Overview session and tests specific info for vmmaster
install -r requirements.txt
install_dependencies.sh
install
run build
run dev:build
run dev:watch
mmaster-frontend.conf.template vmmaster-frontend.conf
e upstream component nginx needs to connect to
ream django {
er unix:///path/to/vmmaster-frontend/vmmaster-frontend.sock; # for a file socket
ln -s /path/to/vmmaster-frontend.conf /etc/nginx/sites-enabled
service nginx restart
mmaster-frontend.ini.template vmmaster-frontend.ini
e base directory (full path)
r = /path/to/vmmaster-frontend
eate a directory for the vassals
mkdir /etc/uwsgi
mkdir /etc/uwsgi/vassals
mkdir /var/log/uwsgi
mlink from the default config directory to your config file
ln -s /path/to/vmmaster-frontend.ini /etc/uwsgi/vassals/
n the emperor
i --emperor /etc/uwsgi/vassals --uid vmmaster --gid vmmaster
eate upstart service
cp /path/to/vmmaster-frontend/vmmaster-frontend.conf.init.template /etc/init/vmmaster-frontend.conf
eate upstart watch server for real-time update data on pages
cp /path/to/vmmaster-frontend/watchserver.conf.init.template /etc/init/watchserver.conf
n service
service vmmaster-frontend start
path/to/vmmaster-frontend/vmmaster_frontend
emplate.settings.py settings.py
CURITY WARNING: keep the secret key used in production secret!
ET_KEY = ''