... | @@ -16,30 +16,31 @@ If you're not using virtualenv or virtualenvwrapper you may skip this step. |
... | @@ -16,30 +16,31 @@ If you're not using virtualenv or virtualenvwrapper you may skip this step. |
|
|
|
|
|
#### For virtualenvwrapper ####
|
|
#### For virtualenvwrapper ####
|
|
```bash
|
|
```bash
|
|
mkvirtualenv --no-site-packages twitter-env
|
|
mkvirtualenv --no-site-packages twitter-tap
|
|
```
|
|
```
|
|
|
|
|
|
#### For virtualenv ####
|
|
#### For virtualenv ####
|
|
```bash
|
|
```bash
|
|
virtualenv --no-site-packages twitter-env
|
|
virtualenv --no-site-packages twitter-tap
|
|
cd twitter-env
|
|
cd twitter-tap
|
|
source bin/activate
|
|
source bin/activate
|
|
```
|
|
```
|
|
|
|
|
|
### Clone the code ###
|
|
### Clone the code ###
|
|
Obtain the url to your git repository.
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
git clone git@source.ijs.si:jkranjc/twitter.git twitter
|
|
git clone git@github.com:janezkranjc/twitter-tap.git
|
|
```
|
|
```
|
|
|
|
|
|
### Install requirements ###
|
|
### Install requirements ###
|
|
|
|
|
|
```bash
|
|
```bash
|
|
cd twitter
|
|
cd twitter-tap
|
|
pip install -r requirements.txt
|
|
pip install -r requirements.txt
|
|
```
|
|
```
|
|
|
|
|
|
### Copy and edit the settings file ###
|
|
### Copy and edit the settings file ###
|
|
|
|
|
|
```bash
|
|
```bash
|
|
cp __settings.py settings.py
|
|
cp __settings.py settings.py
|
|
vi settings.py
|
|
vi settings.py
|
... | | ... | |