rb@82
|
1 |
Installation
|
rb@82
|
2 |
------------
|
rb@82
|
3 |
|
rb@82
|
4 |
First you have to clone this repository and all its submodules::
|
rb@232
|
5 |
cd eskp-app
|
rb@82
|
6 |
|
rb@82
|
7 |
Next create a virtualenv and install all the requirments into it. In this
|
rb@82
|
8 |
example we are using virtualenvwrapper to manage the virtualenv::
|
rb@82
|
9 |
|
rb@232
|
10 |
mkvirtualenv eskp-env
|
rb@82
|
11 |
|
rb@82
|
12 |
This repository provides requirements and configurations.
|
rb@82
|
13 |
|
rb@82
|
14 |
For local development, install the requirements specified in
|
rb@82
|
15 |
requirements::
|
rb@82
|
16 |
|
rb@82
|
17 |
pip install -r requirements.txt
|
rb@82
|
18 |
|
rb@232
|
19 |
Now that this is complete, you can run eskp in that environment::
|
rb@82
|
20 |
|
rb@232
|
21 |
python ./eskp.py
|
rb@82
|
22 |
|
peter@192
|
23 |
Testing and developing is done with::
|
peter@192
|
24 |
|
peter@192
|
25 |
pip install -r requirements-dev.txt
|
peter@192
|
26 |
|
peter@192
|
27 |
Now you have additional packages for development and testing:
|
peter@192
|
28 |
|
peter@192
|
29 |
- pep8
|
peter@192
|
30 |
- py.test
|
peter@192
|
31 |
- selenium
|
peter@192
|
32 |
|
rb@82
|
33 |
|
rb@82
|
34 |
|
rb@82
|
35 |
|