Browse Source

Setup and settings docs.

Rafał Pitoń 11 years ago
parent
commit
a5c8e1dcc4
3 changed files with 14 additions and 3 deletions
  1. 7 1
      README.rst
  2. 0 0
      docs/developers/settings.rst
  3. 7 2
      docs/setup_maintenance.rst

+ 7 - 1
README.rst

@@ -35,11 +35,17 @@ To install Misago setup and activate virtual environment and then fire following
 
 Those commands will install Misago in your virtual environment and make pre-configured Misago site for you named "testforum" using "misago-start.py" script available successfull installation.
 
-Now cd test forum and fire runserver command using manage.py::
+Now cd test forum and initialize database by using syncdb and migrate commands using manage.py::
 
     cd testforum
+    python manage.py syncdb
+    python manage.py migrate
+
+Finally start development server using runserver command::
+
     python manage.py runserver
 
+
 If server starts, you should be able to visit 127.0.0.1:8000 in your browser and see simple placeholder response from Misago, however as work on this branch is underway revisions may frequently introduce changes that will break runserver.
 
 

+ 0 - 0
docs/developers/accessing_settings.rst → docs/developers/settings.rst


+ 7 - 2
docs/setup_maintenance.rst

@@ -54,11 +54,16 @@ Open "settings.py" in your code editor of choice and give a look in values liste
 .. note::
    To simplify setup process, by default "settings.py" file contains only most basic settings that are needed for your site to run, with everything else being set for you automatically at the beginning of file.
 
-Move back to directory with manage.py and use it to fire "runserver" command::
+Move back to directory with manage.py and use it to initialize Misago database by firing following following commands::
+
+    python manage.py syncdb
+    python manage.py migrate
+
+Finally, start development server using "runserver" command::
 
     python manage.py runserver
 
-If server starts, you should be able to visit 127.0.0.1:8000 in your browser and see simple placeholder response from Misago, however as work on project is underway revisions may frequently introduce changes that will break runserver.
+If server starts, you should be able to visit 127.0.0.1:8000 in your browser and see forum index, however as work on project is underway revisions may frequently introduce changes that will break runserver.
 
 
 Deployment