proxadmin/README.md

22 lines
715 B
Markdown
Raw Normal View History

2017-03-08 13:54:27 -05:00
# proxadmin
2017-03-08 13:53:09 -05:00
web panel for proxmaster built with Flask
2017-05-29 11:59:30 -04:00
### setup db backend:
2017-03-08 13:53:09 -05:00
1. apt-get install postgresql postgresql-contrib libpq-dev
2. sudo -i -u postgres psql
3. create user proxadmin with password 'mypassword';
4. create database proxadmin owner proxadmin encoding 'utf-8';
2017-05-29 11:59:30 -04:00
### setup panel:
1. adduser USER
2. cd /home/USER
3. virtualenv -p python3 appserver
4. cd appserver
5. git clone git://github.com/kanaka/noVNC
6. git clone https://deflax@bitbucket.org/deflax/proxmaster-panel.git
7. source bin/activate
8. cd proxmaster-panel/ ; pip install -r requirements.txt
2017-03-08 13:53:09 -05:00
9. python3 manage.py db init ; python3 manage.py db migrate -m "init" ; python3 manage.py db upgrade ; python3 manage.py deploy