Add migration step to setup script
This commit is contained in:
parent
03322e8159
commit
c5750a5b44
1 changed files with 1 additions and 0 deletions
1
setup.sh
1
setup.sh
|
@ -3,6 +3,7 @@
|
|||
sudo apt install -y python3-pip
|
||||
sudo pip3 install django uwsgi
|
||||
./manage.py collectstatic
|
||||
./manage.py migrate
|
||||
sudo cp vpnmanager.service /etc/systemd/system/
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable vpnmanager
|
||||
|
|
Loading…
Reference in a new issue