Commit 3073f8cd authored by Yuri Konotopov's avatar Yuri Konotopov

Updated readme

parent bf0f1f89
......@@ -20,20 +20,36 @@ Getting Started
You can get started developing the website with::
$ git clone
$ cd extensions-web/sweettooth
$ change "Debug" variable value to "True" in
$ cd extensions-web
$ virtualenv --system-site-packages ./venv
$ . ./venv/bin/activate
$ pip install -r ../requirements.txt
$ python sweettooth/ syncdb
$ python sweettooth/ migrate
$ python sweettooth/ runserver
I use `--system-site-packages` because we require Xapian, which doesn't have
its Python bindings in PyPI.
$ . ./venv/bin/activate
$ pip install -r ../requirements.txt
$ python syncdb
You should be asked to create superuser account. Provide some login and password.
$ python migrate
After above steps your database should be initialized and almost ready to run.
You should manualy specify your site's domain with SQL update::
UPDATE `django_site`
SET `domain` = '',
`name` = ''
WHERE `django_site`.`id` = 1;
Create file "" with line "Debug = True". Then start your website:
$ python runserver
Create a superuser, and log in. You should be able to upload extensions and
review extensions.
Log in using superuser account. You should be able to upload and review extensions.
.. _virtualenv:
.. _pip:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment