[PART 1] How to Deploy Django App + PostgreSQL to FLY.io | #python #django #backend
4.6 هزار بار بازدید -
2 سال پیش
-
Getting ready Django for deployment
Getting ready Django for deployment to Production part 1.
In next video we will deploy it FLY.io
Deploying Django Part 1 : [PART 1] How to Deploy Django App + P...
Deploying Django Part 2 : [PART 2] How to Deploy Django App + P...
Deploy Django PythonAnywhere.com:
[FREE] How to Deploy Django & MySQL t...
Here what we covered in this video
00:00 Intro.
00:29 Clone git repo.
01:17 Install virtual environment.
01:52 Activate virtual environment.
02:03 pip install -r requirements.txt.
02:47 Install psycopg2-binary (postgre adapter).
03:00 Install python-dotenv and setup.
04:17 Create .env file.
05:07 Generate you secret key(secrets, string).
06:35 Setup env variables, os.eniron.get('KEY').
07:26 Install dj-database-url.
07:45 Update the DATABASES using dj_database_url.
09:39 Install whitnoise and its setup.
10:57 Install gunicorn.
11:22 pip freeze requirements.txt
11:54 Like, Share and Subscribe.
Git repo : https://github.com/4yub1k/job-portal-...
Required:
pip install whitenoise
pip install psycopg2-binary
pip install python-dotenv
pip install dj-database-url
pip install gunicorn
Whitenoise:
APPS: "whitenoise.runserver_nostatic",
MIDDLEWARE:"whitenoise.middleware.WhiteNoiseMiddleware",
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
In next video we will deploy it FLY.io
Deploying Django Part 1 : [PART 1] How to Deploy Django App + P...
Deploying Django Part 2 : [PART 2] How to Deploy Django App + P...
Deploy Django PythonAnywhere.com:
[FREE] How to Deploy Django & MySQL t...
Here what we covered in this video
00:00 Intro.
00:29 Clone git repo.
01:17 Install virtual environment.
01:52 Activate virtual environment.
02:03 pip install -r requirements.txt.
02:47 Install psycopg2-binary (postgre adapter).
03:00 Install python-dotenv and setup.
04:17 Create .env file.
05:07 Generate you secret key(secrets, string).
06:35 Setup env variables, os.eniron.get('KEY').
07:26 Install dj-database-url.
07:45 Update the DATABASES using dj_database_url.
09:39 Install whitnoise and its setup.
10:57 Install gunicorn.
11:22 pip freeze requirements.txt
11:54 Like, Share and Subscribe.
Git repo : https://github.com/4yub1k/job-portal-...
Required:
pip install whitenoise
pip install psycopg2-binary
pip install python-dotenv
pip install dj-database-url
pip install gunicorn
Whitenoise:
APPS: "whitenoise.runserver_nostatic",
MIDDLEWARE:"whitenoise.middleware.WhiteNoiseMiddleware",
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
2 سال پیش
در تاریخ 1401/10/11 منتشر شده
است.
4,664
بـار بازدید شده