update readme file with more details how to install the project
This commit is contained in:
@@ -4,7 +4,20 @@ Provides a REST API to Photowall database.
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
`$ pip install -r requirements.txt`
|
Make sure that your system has Python version 3.4 installed. If you dont have it here is how you install it on Ubuntu 12.04:
|
||||||
|
```
|
||||||
|
$ sudo add-apt-repository ppa:fkrull/deadsnakes
|
||||||
|
$ sudo apt-get update
|
||||||
|
$ sudo apt-get install python3.4 python3.4-dev build-essential
|
||||||
|
```
|
||||||
|
|
||||||
|
Next its recommended that you create a [virtualenv](http://docs.python-guide.org/en/latest/dev/virtualenvs/) of python 3.4 and install all packages in it.
|
||||||
|
To do that execute the following commands in your project folder:
|
||||||
|
```
|
||||||
|
$ virtualenv -p /usr/bin/python3.4 venv
|
||||||
|
$ source venv/bin/activate
|
||||||
|
$ pip install -r requirements.txt
|
||||||
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user