Add Postgres Cloud Database - Django Wednesdays ECommerce 43
2.3 هزار بار بازدید -
3 ماه پیش
-
In this video we'll add
In this video we'll add the PostgreSQL database to our ecommerce app with Django and Python.
Up until now we've been using the basic SQLite3 database that comes with Django, but that's not appropriate for a live production website.
So we'll add a cloud Postgres Database to our app in this video that is fully online.
#django #codemy #JohnElder
Timecodes
0:00 - Introduction
1:06 - Add Postgres to Settings.py
2:27 - Pip Install Psycopg
4:21 - Railway Postgres Intro
7:00 - Get Railway Variables
8:38 - Pip Install Python-dotenv
9:03 - Import python-dotenv
9:26 - load_dotenv()
9:34 - Create .env and .gitignore files
10:25 - add variable to .env
11:19 - Add DB_PASSWORD_YO to settings.py
12:00 - Migrate Tables
13:49 - Create Super User
15:17 - ReAdd Categories
15:40 - ReAdd Products
18:42 - Conclusion
Up until now we've been using the basic SQLite3 database that comes with Django, but that's not appropriate for a live production website.
So we'll add a cloud Postgres Database to our app in this video that is fully online.
#django #codemy #JohnElder
Timecodes
0:00 - Introduction
1:06 - Add Postgres to Settings.py
2:27 - Pip Install Psycopg
4:21 - Railway Postgres Intro
7:00 - Get Railway Variables
8:38 - Pip Install Python-dotenv
9:03 - Import python-dotenv
9:26 - load_dotenv()
9:34 - Create .env and .gitignore files
10:25 - add variable to .env
11:19 - Add DB_PASSWORD_YO to settings.py
12:00 - Migrate Tables
13:49 - Create Super User
15:17 - ReAdd Categories
15:40 - ReAdd Products
18:42 - Conclusion
3 ماه پیش
در تاریخ 1403/03/23 منتشر شده
است.
2,308
بـار بازدید شده