Skip to content
Newer
Older
100644 48 lines (32 sloc) 1.27 KB
516be86 @sirpengi Editing README
sirpengi authored
1 Getting Started
2 ===============
3
4 Get Python2.6 or Python2.7 (Whatever comes bundled with your system is
5 preferred, but otherwise 2.7 is better)
6
7 Afterwards, you need to get pip and virtualenv (+virtualenvwrapper)
8
9 If you want the latest pip+virtualenv
10 -------------------------------------
11 Use your local package manager to get easy_install (usually packagename
12 is python-setuptools).
13
14 $> easy_install pip
15
16 ... stuff happens
17
18 $> pip install virtualenvwrapper
19
20 If you're lazy and want the fast way
21 ------------------------------------
22 Find python-pip and python-virtualenv and pip install virtualenvwrapper
23
24 Setting Up Dev Environment
25 ==========================
26 The following will set up a virtualenv named 'hicap'. Feel free to name
27 it whatever you want.
28
29 $> mkvirtualenv hicap
30 $> pip install -r requirements.txt
31
32 The next time you return to your machine just type:
33 $> workon hicap
34
35 The requirements file is in the root of the repo. It contains a list
36 of all packages for pip to install. You might need to run the pip
37 install later on when further changes introduce new dependencies.
38
39 Running Dev Server
40 ==================
41 Make sure you're in your virtualenv
42
43 $> python manage.py runserver
44
45 You can also be all 'runserver 0.0.0.0:8080' to pick your IP and ports.
46 Yeah, it's that simple.
47
Something went wrong with that request. Please try again.