[damned-lies] Rewritten the README file Installation section
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Rewritten the README file Installation section
- Date: Mon, 6 Aug 2012 08:10:17 +0000 (UTC)
commit 00cb553827a4e7ec4ef12215e8cc51e9b1f14fe1
Author: Leandro Regueiro <leandro regueiro gmail com>
Date: Tue Jul 31 16:03:36 2012 +0200
Rewritten the README file Installation section
README | 32 +++++++++++++++++++-------------
1 files changed, 19 insertions(+), 13 deletions(-)
---
diff --git a/README b/README
index 16e7b1d..58580bf 100644
--- a/README
+++ b/README
@@ -39,27 +39,33 @@ Installation
1 - Create a local_settings.py and overwrite settings to match your requirements
and your configuration layouts. Typical settings to customize include:
- DATABASES, SECRET_KEY, DEBUG, TEMPLATE_DEBUG, STATIC_SERVE, ADMINS, MANAGERS,
- ADMIN_GROUP, SCRATCHDIR and various EMAIL settings.
- (please refer to Database configuration below for more
- informations).
- SCRATCHDIR should point to an existing directory, writable by
- the web application user.
- Note also that if you don't want to really send mail when testing the app, you
- can set the EMAIL_BACKEND setting as follows to redirect mail to the console:
+ DATABASES, SECRET_KEY, DEBUG, TEMPLATE_DEBUG, STATIC_SERVE, ADMINS,
+ MANAGERS, ADMIN_GROUP, SCRATCHDIR and various EMAIL settings.
+
+ Please refer to Database configuration below for more information.
+
+ SCRATCHDIR should point to an existing directory, writable by the web
+ application user.
+
+ Note also that if you don't want to really send mail when testing the app,
+ you can set the EMAIL_BACKEND setting as follows to redirect mail to the
+ console:
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
-2 - Run './manage.py syncdb' then:
+2 - Run the following command to create the tables in the database:
+ ./manage.py syncdb
+
+3 - Run the following command to execute the migrations:
./manage.py migrate
-2b- If you want to populate the database with sample data, run:
+4 - (optional) If you want to populate the database with sample data, run:
./manage.py loaddata sample_data
-3 - You should now be able to launch the server to check if all is running well:
+5 - You should now be able to launch the server to check if all is running well:
./manage.py runserver
-4 - Configure Sites in admin interface ('View on site' link, site address in sent
- mail).
+6 - Configure Sites in admin interface ('View on site' link, site address in
+ sent mail).
Maintenance tasks
=================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]