mirror of
https://github.com/retspen/webvirtcloud
synced 2026-07-05 02:55:41 +00:00
Rework Static_Root & StaticFile structure
This commit is contained in:
parent
6c0cc3c274
commit
0658b29db7
319 changed files with 5 additions and 11678 deletions
|
|
@ -72,7 +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
|
||||
python3 manage.py collectstatic --noinput --clear --link
|
||||
sudo chown -R www-data:www-data /srv/webvirtcloud
|
||||
sudo rm /etc/nginx/sites-enabled/default
|
||||
```
|
||||
|
|
@ -120,7 +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
|
||||
python3 manage.py collectstatic --noinput --clear --link
|
||||
```
|
||||
|
||||
#### Configure the supervisor for CentOS
|
||||
|
|
@ -359,7 +359,7 @@ source venv/bin/activate
|
|||
git pull
|
||||
pip3 install -U -r conf/requirements.txt
|
||||
python3 manage.py migrate
|
||||
python3 manage.py collectstatic --noinput
|
||||
python3 manage.py collectstatic --noinput --clear --link
|
||||
sudo service supervisor restart
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue