mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-06-06 12:29:37 +00:00
add collect static command for rest/swagger ui
This commit is contained in:
@@ -72,6 +72,7 @@ virtualenv -p python3 venv
|
||||
source venv/bin/activate
|
||||
pip install -r conf/requirements.txt
|
||||
python3 manage.py migrate
|
||||
python3 manage.py collectstatic --noinput
|
||||
sudo chown -R www-data:www-data /srv/webvirtcloud
|
||||
sudo rm /etc/nginx/sites-enabled/default
|
||||
```
|
||||
@@ -119,6 +120,7 @@ source venv/bin/activate
|
||||
pip3 install -r conf/requirements.txt
|
||||
cp conf/nginx/webvirtcloud.conf /etc/nginx/conf.d/
|
||||
python3 manage.py migrate
|
||||
python3 manage.py collectstatic --noinput
|
||||
```
|
||||
|
||||
#### Configure the supervisor for CentOS
|
||||
@@ -357,6 +359,7 @@ source venv/bin/activate
|
||||
git pull
|
||||
pip3 install -U -r conf/requirements.txt
|
||||
python3 manage.py migrate
|
||||
python3 manage.py collectstatic --noinput
|
||||
sudo service supervisor restart
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user