2022-09-07 20:09:13 +00:00
|
|
|
# doab-check
|
|
|
|
Link and DB Checker for DOAB
|
2023-04-19 17:16:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
## update
|
|
|
|
|
|
|
|
```
|
|
|
|
cd doab-check
|
|
|
|
git fetch origin
|
|
|
|
git checkout remotes/origin/main
|
|
|
|
pipenv shell
|
|
|
|
|
|
|
|
python manage.py migrate
|
|
|
|
sudo systemctl restart gunicorn
|
|
|
|
|
2023-10-23 17:39:53 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## resize droplet
|
|
|
|
|
|
|
|
```
|
|
|
|
poweroff
|
|
|
|
```
|
|
|
|
reconfigure in console
|
|
|
|
power on button
|
|
|
|
|
|
|
|
```
|
|
|
|
sudo restart nginx
|
|
|
|
sudo restart gunicorn
|
|
|
|
```
|
|
|
|
|
|
|
|
## initial config
|
|
|
|
https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-18-04
|