Merge lp:~hjd/widelands-website/simplified-installation-instructions into lp:widelands-website

Proposed by Hans Joachim Desserud
Status: Merged
Merged at revision: 339
Proposed branch: lp:~hjd/widelands-website/simplified-installation-instructions
Merge into: lp:widelands-website
Diff against target: 49 lines (+8/-11)
1 file modified
README.txt (+8/-11)
To merge this branch: bzr merge lp:~hjd/widelands-website/simplified-installation-instructions
Reviewer Review Type Date Requested Status
Widelands Developers Pending
Review via email: mp+140767@code.launchpad.net

Description of the change

Further simplified instructions for setting up the website as outlined in https://code.launchpad.net/~hjd/widelands-website/updated-installation-instructions/+merge/138862.

I am aware the --no-site-packages option is deprecated now that this is the default behavior, but it just prints a warning if included and I think it will be fine to keep this for at least a while longer.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'README.txt'
2--- README.txt 2012-12-08 18:54:55 +0000
3+++ README.txt 2012-12-19 20:33:21 +0000
4@@ -23,20 +23,21 @@
5
6 This will make sure that your virtual environment is not tainted with python
7 packages from your global site packages. Very important!
8-Now, we create our environment and download the website::
9+Now, we create and activate our environment::
10
11 $ virtualenv --no-site-packages wlwebsite
12 $ cd wlwebsite
13+ $ source bin/activate
14+
15+Next, we download the website source code::
16+
17 $ mkdir code
18 $ cd code
19 $ bzr branch lp:widelands-website widelands
20+ $ cd widelands
21
22 All fine and good. Now we have to install all the third party modules the
23-website needs. We use pip for that. But first, we have to change into our
24-local environment::
25-
26- $ cd .. # Now, we are in the root dir of our environemnt
27- $ source bin/activate
28+website needs. We use pip for that.
29
30 Installation of the third party libraries should be easy, given you have
31 development tools installed and in your path. The two difficult packages are
32@@ -44,17 +45,13 @@
33 or add your global site dir to your PYTHONPATH.
34 Installation via pip should work like this::
35
36- $ pip install -r code/widelands/pip_requirements.txt
37+ $ pip install -r pip_requirements.txt
38
39 This will take a while. If no errors are shown we should be fine.
40
41 Setting up the website
42 ----------------------
43
44-Go back into the widelands bzr directory::
45-
46- $ cd code/widelands
47-
48 Setting your local paths
49 ^^^^^^^^^^^^^^^^^^^^^^^^
50

Subscribers

People subscribed via source and target branches