Skip to content

Commit

Permalink
updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
leoBitto committed Jan 6, 2024
1 parent 03243da commit cca6765
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,14 @@ jobs:
sudo ufw allow 'Nginx Full'
# Riavvia Gunicorn e Nginx
sudo systemctl restart gunicorn.socket
sudo systemctl restart gunicorn
sudo systemctl restart nginx
sudo -u www-data systemctl restart gunicorn.socket
sudo -u www-data systemctl restart gunicorn
sudo -u www-data systemctl restart nginx
# Esegui gli ultimi controlli
sudo systemctl status gunicorn.socket
sudo systemctl status gunicorn
sudo systemctl status nginx
sudo -u www-data systemctl status gunicorn.socket
sudo -u www-data systemctl status gunicorn
sudo -u www-data systemctl status nginx
sudo -u ${{ secrets.USER_NAME }} git pull
Expand Down
24 changes: 23 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,32 @@
asgiref==3.7.2
certifi==2023.11.17
cffi==1.16.0
charset-normalizer==3.3.2
cryptography==41.0.7
defusedxml==0.7.1
Django==5.0
django-environ==0.11.2
django-quill-editor==0.1.40
fontawesomefree==6.4.2
gunicorn==21.2.0
idna==3.6
numpy==1.26.2
oauthlib==3.2.2
packaging==23.2
pandas==2.1.4
Pillow==10.1.0
plotly==5.18.0
psycopg2-binary==2.9.9
pycparser==2.21
PyJWT==2.8.0
python-dateutil==2.8.2
python-decouple==3.8
python3-openid==3.2.0
pytz==2023.3.post1
requests==2.31.0
requests-oauthlib==1.3.1
six==1.16.0
sqlparse==0.4.4
fontawesomefree==6.4.2
tenacity==8.2.3
tzdata==2023.3
urllib3==2.1.0
4 changes: 4 additions & 0 deletions src/base/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,15 @@
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',

# add here the app names
'website',
'fontawesomefree',

]



MIDDLEWARE = [
'django.middleware.csrf.CsrfViewMiddleware',
'django.middleware.security.SecurityMiddleware',
Expand All @@ -55,6 +58,7 @@
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',

]

ROOT_URLCONF = 'base.urls'
Expand Down

0 comments on commit cca6765

Please sign in to comment.