← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~hjd/widelands-website/updated-installation-instructions into lp:widelands-website

 

Hans Joachim Desserud has proposed merging lp:~hjd/widelands-website/updated-installation-instructions into lp:widelands-website.

Requested reviews:
  Widelands Developers (widelands-dev)

For more details, see:
https://code.launchpad.net/~hjd/widelands-website/updated-installation-instructions/+merge/138862

A couple of changes based on what I had to do to set up wl-website from scratch.

Note that the -E option has been removed from pip version 1.1, released nearly a year ago [1]. Do we wish to include a warning or comment in case someone use an older version of virtualenv/pip where it could still be needed? If not, we probably want to rework the instructions a bit more and change the order to virtualenv, source, bzr branch, pip install which might seem more straight-forward.

[1] http://pypi.python.org/pypi/pip/1.2.1
-- 
https://code.launchpad.net/~hjd/widelands-website/updated-installation-instructions/+merge/138862
Your team Widelands Developers is requested to review the proposed merge of lp:~hjd/widelands-website/updated-installation-instructions into lp:widelands-website.
=== modified file 'README.txt'
--- README.txt	2012-05-17 19:28:39 +0000
+++ README.txt	2012-12-08 19:15:24 +0000
@@ -44,7 +44,7 @@
 or add your global site dir to your PYTHONPATH. 
 Installation via pip should work like this::
 
-   $ pip -E . install -r code/widelands/pip_requirements.txt
+   $ pip install -r code/widelands/pip_requirements.txt
 
 This will take a while. If no errors are shown we should be fine. 
 
@@ -73,7 +73,13 @@
 
    $ ./manage.py syncdb
 
-You will need to enter a superuser name and account. Now, let's run the page::
+You will need to enter a superuser name and account.
+After setting up the database, pybb and djangoratings will not be synced.
+To migrate these, run::
+
+   $ ./manage.py migrate
+
+Now, let's run the page::
 
    $ ./manage.py runserver
 
@@ -104,7 +110,7 @@
 Setting up the online help / encyclopedia
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-You will need graphviz to generate the graphs for the online help. On Ubunutu run:
+You will need graphviz to generate the graphs for the online help. On Ubuntu run:
 
    $ sudo apt-get install graphviz
 


Follow ups