Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

Latest commit

 

History

History
27 lines (22 loc) · 806 Bytes

readme.md

File metadata and controls

27 lines (22 loc) · 806 Bytes

Requirements

$ sudo apt install python3-venv python3-pip
$ python3 -m venv env
$ . env/bin/activate
$ pip3 install -r requirements.txt

Set up database

$ sudo apt install postgresql
$ sudo -u postgres psql postgres
postgres=# create database myblog;
postgres=# create user myblog with password 'myblog';
postgres=# alter role myblog set client_encoding to 'utf8';
postgres=# alter role myblog set default_transaction_isolation to 'read committed';
postgres=# alter role myblog set timezone to 'UTC';
postgres=# grant all privileges on database myblog to myblog;
postgres=# \q

Docs