-
Notifications
You must be signed in to change notification settings - Fork 23
Installation and Usage tips
Emmanuel Evance edited this page Mar 21, 2015
·
1 revision
on the terminal type
$sudo gedit ~/.bashrc
Then paste the following codes at the bottom of the ~/.bashrc file
#setup virtualenv export WORKON_HOME=$HOME/.virtualenvs export PROJECT_HOME=$HOME/Devel source /usr/local/bin/virtualenvwrapper.sh
Save the changes then restart the terminal before using the service
##Note
Do not change anything else in the ~/.bashrc file !
##Flask-script
On the usage most common error when you create TaarifaWaterpoints schemas
is due to a missing Flask-script. The error look like this
File "manage.py", line 5, in from flask.ext.script import Manager ImportError: No module named flask.ext.script
Solution is to install Flask-script
$ sudo pip install Flask-Script
##Note
It is best to be sudo on each Taarifa installation activity
Unless you got an error saying that you can not perform the action when your sudo
Most of the time bower install command does not require sudo