Add PostgreSQL instructions
This commit is contained in:
@@ -37,6 +37,11 @@ If using the ``MySQL`` database manager, use the following commands::
|
|||||||
$ apt-get install python-dev libmysqlclient-dev gcc -y
|
$ apt-get install python-dev libmysqlclient-dev gcc -y
|
||||||
$ pip install MySQL-python
|
$ pip install MySQL-python
|
||||||
|
|
||||||
|
If using PostgreSQL, enter the following::
|
||||||
|
|
||||||
|
$ apt-get install python-dev libpq-dev gcc-y
|
||||||
|
$ pip install pip install psycopg2
|
||||||
|
|
||||||
Populate the database with the project's schema doing::
|
Populate the database with the project's schema doing::
|
||||||
|
|
||||||
$ ./manage.py syncdb --migrate
|
$ ./manage.py syncdb --migrate
|
||||||
|
|||||||
Reference in New Issue
Block a user