Brings CLI to web by executing high level mash-up commands for common services.
Clone repository, then install Python interpreter, virtualenv
and its wrapper:
git clone [email protected]:cmin764/coliw.git
cd coliw
sudo apt-get update && sudo apt-get install --upgrade python python-dev python-setuptools
sudo -H easy_install -U pip
sudo -H pip install -U virtualenv virtualenvwrapper
Set-up a vritual environment:
echo "export WORKON_HOME=~/Envs" >>~/.bashrc
source ~/.bashrc
mkdir -p $WORKON_HOME
echo "source /usr/local/bin/virtualenvwrapper.sh" >>~/.bashrc
source ~/.bashrc
mkvirtualenv coliw
deactivate
Install 3rd party libraries and package:
workon coliw
pip install -Ur requirements.txt
python setup.py develop
deactivate
Run server:
workon coliw
python run.py
You can also add later specific envrinonmental variables in postactivate
file:
cat etc/postactivate >> $WORKON_HOME/coliw/bin/postactivate
And then run workon
command and server using the defined variables above.
Run tests and create documentation:
workon coliw
nosetests
cd docs
make html
deactivate
- Homepage: http://coliw.herokuapp.com/
- Documentation: http://coliw.readthedocs.io/en/latest/
- Source: https://github.com/cmin764/coliw.git
- License: MIT
- Authors:
- Cosmin Poieana [email protected]
- Corneliu Tamas [email protected]