Skip to content

Instantly share code, notes, and snippets.

View kojikojikojikoji's full-sized avatar
🎯
Focusing

KojiMiyazawa kojikojikojikoji

🎯
Focusing
View GitHub Profile
sudo apt-get update
sudo apt-get install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx
sudo -u postgres psql
- paste this code in postgres console:
CREATE DATABASE django_project;
CREATE USER username WITH PASSWORD 'pass1234';
ALTER ROLE username SET client_encoding TO 'utf8';
ALTER ROLE username SET default_transaction_isolation TO 'read committed';