Skip to content

Commit

Permalink
small fixes in deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
dansahagian committed Sep 15, 2024
1 parent a37b56f commit 46d1fd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bin/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ echo "\nDeploying...\n"

rsync -a ./fbsurvivor dan@linode:/opt/fbsurvivor
rsync -a ./pyproject.toml dan@linode:/opt/fbsurvivor
rsync -a ./uv.lock dan@linode:/opt/fbsurvivor
rsync -a ./manage.py dan@linode:/opt/fbsurvivor
rsync -a ./bin dan@linode:/opt/fbsurvivor
rsync -a ./prod.env dan@linode:/opt/fbsurvivor/.env
Expand Down
2 changes: 1 addition & 1 deletion server-config/run-wsgi-server-fbsurvivor
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ DATE=`date '+%Y-%m-%d %H:%M:%S'`
echo "fbsurvivor wsgi started at ${DATE}" | systemd-cat -p info

cd /opt/fbsurvivor
DJANGO_SETTINGS_MODULE=fbsurvivor.settings uv run python -m gunicorn fbsurvivor.wsgi
DJANGO_SETTINGS_MODULE=fbsurvivor.settings /home/dan/.cargo/bin/uv run python -m gunicorn fbsurvivor.wsgi

0 comments on commit 46d1fd1

Please sign in to comment.