[arch-general] [PATCH 1/3] Updating documentation
Adding required dependencies like south, markdown and memcached Signed-off-by: Angel Velasquez <angvp@archlinux.org> --- README | 7 +++++-- requirements.txt | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README b/README index ec0829e..a5032ac 100644 --- a/README +++ b/README @@ -8,12 +8,15 @@ - python - mysql-python or python-pysqlite - Django >= 1.2.X + - python-markdown + - python-memcached + - python-south # Installation For a simple testing installation: 1. Install dependencies. - $ pacman -S django python-pysqlite sqlite3 + $ pacman -S django python-pysqlite sqlite3 python-markdown python-memcached python-south 2. Copy local_settings.py.example to local_settings.py and modify. Make sure to uncomment the appropriate db section (either sqlite or mysql). @@ -22,7 +25,7 @@ For a simple testing installation: $ python manage.py syncdb 4. Load the fixtures to prepopulate some data. - $ python manage.py loaddata arches.json repos.json + $ python manage.py loaddata main/fixtures/arches.json main/fixtures/repos.json 5. Use the following commands to start a service instance $ python manage.py runserver diff --git a/requirements.txt b/requirements.txt index 6d858a1..6dbe741 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ Django==1.2.3 Markdown==2.0.3 South==0.7.2 +Memcached=1.45 -- 1.7.2.3
On Fri, Sep 17, 2010 at 3:34 PM, Angel Velasquez <angvp@archlinux.org> wrote:
Adding required dependencies like south, markdown and memcached
Signed-off-by: Angel Velasquez <angvp@archlinux.org> --- README | 7 +++++-- requirements.txt | 1 + 2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/README b/README index ec0829e..a5032ac 100644 --- a/README +++ b/README @@ -8,12 +8,15 @@ - python - mysql-python or python-pysqlite - Django >= 1.2.X + - python-markdown + - python-memcached + - python-south
# Installation For a simple testing installation:
1. Install dependencies. - $ pacman -S django python-pysqlite sqlite3 + $ pacman -S django python-pysqlite sqlite3 python-markdown python-memcached python-south
This works great, but I did add pip requirements.txt files. I should probably change the README to detail virtualenv creation and usage.
2. Copy local_settings.py.example to local_settings.py and modify. Make sure to uncomment the appropriate db section (either sqlite or mysql). @@ -22,7 +25,7 @@ For a simple testing installation: $ python manage.py syncdb
4. Load the fixtures to prepopulate some data. - $ python manage.py loaddata arches.json repos.json + $ python manage.py loaddata main/fixtures/arches.json main/fixtures/repos.json
5. Use the following commands to start a service instance $ python manage.py runserver diff --git a/requirements.txt b/requirements.txt index 6d858a1..6dbe741 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ Django==1.2.3 Markdown==2.0.3 South==0.7.2 +Memcached=1.45
This is in requirements_prod.txt; you don't strictly need memcached for development.
-- 1.7.2.3
participants (2)
-
Angel Velasquez
-
Dan McGee