4 This document should guide a new developer through his initial setup of platal2.
10 You should fetch the git repository:
12 - Readonly, from git://git.polytechnique.org/xnet.git
13 - Read/write, from git.polytechnique.org:/home/git/xnet.git
18 git clone x1829vaneau@murphy.polytechnique.org:/home/git/xnet.git
21 Installing dependencies
22 -----------------------
24 First, install required (system) packages:
26 * Python2.7 (with sqlite support)
27 * virtualenv (or virtualenvwrapper)
29 Then, you can create your virtualenv.
30 It will host a dedicated Python installation, with all required dependencies,
31 without affecting the rest of your setup.
35 virtualenv ~/dev/xnet_venv
36 . ~/dev/xnet_venv/bin/activate
38 Now, install the dependencies:
43 pip install -r requirements.txt -r dev_requirements.txt
46 Setting up the database
47 -----------------------
49 The development database is backed by sqlite, and should work out of the box:
54 . ~/dev/xnet_venv/bin/activate
62 The simplest way to test the system is to start the built-in HTTP server:
68 Now, open your browser on http://localhost:8000/, you should see the base page.