diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index b01db9a5..7a43403f 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -30,6 +30,7 @@ SÅ‚awek Ehlert / @slafs Alberto Sanchez / @alb3rto Eyad Al Sibai / @eyadsibai Chris Franklin +Benjamin Abel * Possesses commit rights diff --git a/README.rst b/README.rst index 9ac40ff2..626c7d18 100644 --- a/README.rst +++ b/README.rst @@ -107,7 +107,16 @@ First make sure to create and activate a virtualenv_, then open a terminal at th .. _virtualenv: http://docs.python-guide.org/en/latest/dev/virtualenvs/ -You can now run the usual Django ``runserver`` command (replace ``yourapp`` with the name of the directory containing the Django project):: +Then, create a PostgreSQL database and add the database configuration using the ``dj-database-url`` app pattern: ``postgres://db_owner:password@dbserver_ip:port/db_name`` either: + +* in the ``config.common.py`` setting file, +* or in the env variable ``DATABASE_URL`` + + + +You can now run the usual Django ``migrate`` and ``runserver`` command (replace ``yourapp`` with the name of the directory containing the Django project):: + + $ python yourapp/manage.py migrate $ python yourapp/manage.py runserver