This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have decided to explain the instructions from scratch: | |
1. Install Postgres on your computer. | |
- First install `sudo apt-get install libpq-dev python-dev` which are Postgres dependencies to work with Django perfectly. | |
- Then, enter `sudo apt-get install postgresql postgresql-contrib` command to install Postgres. | |
2. Access to Postgres using `sudo su - postgres` command. | |
3. Create a new database. `createdb <dbname>` |