Skip to content

Commit

Permalink
Do not use SQLite as an example in the installation document.
Browse files Browse the repository at this point in the history
It will confuse people since the site doesn't work with SQLite.

Closes #754
  • Loading branch information
berkerpeksag committed May 29, 2015
1 parent f7b996e commit 0053708
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Here are two ways to hack on python.org:
Easy setup using Vagrant
------------------------

You can ignore the below instructions by using Vagrant::
::

$ vagrant up
$ vagrant ssh
Expand Down Expand Up @@ -40,6 +40,7 @@ you can do::
But you can also use your existing virtualenv and virtualenvwrapper::

$ virtualenv --python=python3.3 <env>
# or
$ mkvirtualenv --python=python3.3 <env>

And then you'll need to install dependencies::
Expand All @@ -48,12 +49,13 @@ And then you'll need to install dependencies::

.. note:: For deployment, you can just use ``requirements.txt``.

To change database configuration, you can add the following setting to
pythondotorg will look for a PostgreSQL database named ``python.org`` by
default. To change database configuration, you can add the following setting to
``pydotorg/settings/local.py`` (or you can use the ``DATABASE_URL`` environment
variable)::

DATABASES = {
'default': dj_database_url.parse('sqlite:///pydotorg.db')
'default': dj_database_url.parse('postgres:///your_database_name')
}

Not it's time to run migrations::
Expand Down

0 comments on commit 0053708

Please sign in to comment.