Skip to content

Instantly share code, notes, and snippets.

View aimdexter's full-sized avatar
🎎
Focusing

Aimade Anouar aimdexter

🎎
Focusing
View GitHub Profile
@aimdexter
aimdexter / Deploy Django and React APP in a production VPS.md
Created March 7, 2024 00:23 — forked from farhad0085/Deploy Django and React APP in a production VPS.md
Deploy Django and React APP in a production VPS (Django + Celery + React + PostgreSQL + NGINX + Ubuntu Server)

Deploy Django and React APP in a production VPS (Django + React + PostgreSQL + NGINX + Ubuntu Server)

Assuming You have backend and frontend codes in /home/backend and /home/frontend/ (Use git to upload)

Install required Packages from the Ubuntu Repositories

sudo apt-get update
sudo apt-get install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database