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

๐ŸŽ“ BMSTU Databases coursework (2020) (semester 6)

Notifications You must be signed in to change notification settings

wcdbmv/DBC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

34 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

About

๐ŸŽ“ BMSTU Databases coursework (2020) (semester 6)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published