[PART 2] How to Deploy Django App + PostgreSQL to FLY.io |

Опубликовано: 11 Октябрь 2024
на канале: Nerdy Ayubi
2,837
104

Deploying Django app to fly.io part 2.

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...  

Host : https://fly.io
Create account in FLY.io : https://fly.io/app/sign-up
Install fly.io CLI : https://fly.io/docs/hands-on/install-...
Check app status : https://fly.io/docs/hands-on/check-ap...
Visit the app you created : https://fly.io/docs/hands-on/open-app/

Here what we covered in this video
00:10 login to fly.io.
00:29 Create app on fly.io.
01:02 Create PostgresSQL on fly.
02:39 Save PostgreSQL credentials to tmp file.
03:09 DATABASE_URL.
04:39 Adding ALLOWED_HOSTS.
05:40 Import environment variables to fly.
06:29 Change Demo.wsgi in Dockerfile.
06:54 Deploy App to fly.
07:35 Check the new app.
07:43 Login to fly using SSH.
08:53 Create Django Super User.
09:34 Login to job-portal app admin.
09:55 Add new Job listing.
10:27 Delete fly.io APP.
10:57 Delete fly.io Database.
11:19 Like, Share, and Subscribe.