AI, Data Science & Cloud Certificates from Google, IBM & Meta
Get 20% off all career paths from fullstack to AI
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This tutorial deploys a Python multiplayer game to a remote server and connects it to a hosted database. Learners configure the app to store opponent data and test it after deployment.
Syllabus
Introduction
Login to Linode
Create Database Cluster
Create Linode
Create .env File
Install psycopg2
Create db.py
Use Database in main.py
Connect Players to Components
Store Opponent Data
Drop-in Database Cluster Info
Test Game App
Draw Wins/Losses
Test App
Deploy App to Linode
Change IP Address the App Uses
Create .env File on Server
Test App Again
Conclusion
Taught by
Linode