Skip to content

Commit

Permalink
fix permision
Browse files Browse the repository at this point in the history
  • Loading branch information
lugopi committed May 2, 2024
1 parent f7d467b commit 912eb68
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ rm -f Pipfile.lock
rm -f requirement.txt
rm -rf static/*

pipenv install --deploy
pipenv run python3 manage.py migrate
sudo pipenv install --deploy
sudo pipenv run python3 manage.py migrate

pipenv run python3 manage.py import_tags
sudo pipenv run python3 manage.py import_tags

pipenv run python3 manage.py spectacular --file schema.yml
pipenv run python3 manage.py collectstatic --noinput
sudo pipenv run python3 manage.py spectacular --file schema.yml
sudo pipenv run python3 manage.py collectstatic --noinput

pipenv run pip freeze > requirement.txt
sudo pipenv run pip freeze > requirement.txt
pip install -r requirement.txt

cd "$root"
Expand Down

0 comments on commit 912eb68

Please sign in to comment.