Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 48 lines (32 sloc) 1.297 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
f74b8fb @sirpengi tab fail
sirpengi authored
14 $> easy_install pip
15
516be86 @sirpengi Editing README
sirpengi authored
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 ==========================
f74b8fb @sirpengi tab fail
sirpengi authored
26 The following will set up a virtualenv named 'hicap'. Feel free to name
516be86 @sirpengi Editing README
sirpengi authored
27 it whatever you want.
28
f74b8fb @sirpengi tab fail
sirpengi authored
29 $> mkvirtualenv hicap
516be86 @sirpengi Editing README
sirpengi authored
30 $> pip install -r requirements.txt
31
32 The next time you return to your machine just type:
f74b8fb @sirpengi tab fail
sirpengi authored
33 $> workon hicap
516be86 @sirpengi Editing README
sirpengi authored
34
f74b8fb @sirpengi tab fail
sirpengi authored
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
516be86 @sirpengi Editing README
sirpengi authored
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
f74b8fb @sirpengi tab fail
sirpengi authored
43 $> python manage.py runserver
516be86 @sirpengi Editing README
sirpengi authored
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.