🧑🏫 COURSES — Explore my latest Cloud computing & Django courses: https://www.cloudwithdjango.com/courses
Deploy a Django web app to a Render live server with PostgreSQL
Important links:
Render - https://render.com/
Github - https://github.com/
Important packages:
https://pypi.org/project/psycopg2-binary/
https://pypi.org/project/dj-database-url/
https://pypi.org/project/django-environ/
https://pypi.org/project/gunicorn/
Deploying static/media files:
https://www.youtube.com/watch?v=980gAjwR44I&t=1071s
https://www.youtube.com/watch?v=d9w75580YHs
Solve Admin styling problem:
https://stackoverflow.com/questions/64327410/why-my-django-admin-is-not-loading-with-css
🪧| Video timestamps:
0:00 - Intro
0:05 - Register for a Render account
5:07 - Create a PostgreSQL database on Render
8:19 - Installing important packages
15:29 - Configure our database settings
25:36 - Testing our admin user
27:43 - Important deployment configurations
31:25 - Deploying to Render
43:10 - (Bonus) - Static/media files + admin page styling
44:40 - Add a custom domain name
🧑🏫 | Courses:
https://www.cloudwithdjango.com/courses
📑 | Blog:
https://www.cloudwithdjango.com/blog/
📢 | Coaching:
https://www.patreon.com/cloudwithdjango/coaching/
💼| Join the Slack community:
https://cloudwithdjango.slack.com/join/shared_invite/zt-1mk37h3ht-tQrp8CYA4B4ylMOicZsOCw#/shared-invite/email
❤️ | Support:
https://www.paypal.com/donate/?hosted_button_id=VDAGR4FY5ZX7E