Confirmed users
514
edits
Seanmonstar (talk | contribs) |
m (→Installation) |
||
| Line 1: | Line 1: | ||
== Installation == | == Installation == | ||
Based on | Based on | ||
[http://erikvold.com/blog/index.cfm/2010/12/13/installing-flightdeck-on-osx Erik's blog]. Aiming to work on any Un*x systems - a few commands may be different - Ubuntu commands are | [http://erikvold.com/blog/index.cfm/2010/12/13/installing-flightdeck-on-osx Erik's blog]. Aiming to work on any Un*x systems - a few commands may be different - all Ubuntu specific commands are prefixed with (U) . I assume if any other distro is used user already knows how to use it. | ||
=== Requirements === | === Requirements === | ||
| Line 17: | Line 17: | ||
'''Install needed dev packages''' | '''Install needed dev packages''' | ||
sudo apt-get install python-all-dev python-mysqldb libmysqlclient-dev libxslt-dev libxml2-dev | (U) sudo apt-get install python-all-dev python-mysqldb libmysqlclient-dev libxslt-dev libxml2-dev | ||
sudo easy_install pip | sudo easy_install pip | ||
sudo pip install virtualenvwrapper | sudo pip install virtualenvwrapper | ||
| Line 26: | Line 26: | ||
echo "export WORKON_HOME=~/Envs" > ~/.virtualenvwrapper.sh | echo "export WORKON_HOME=~/Envs" > ~/.virtualenvwrapper.sh | ||
echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.virtualenvwrapper.sh | echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.virtualenvwrapper.sh | ||
# OSX | # OSX | ||
echo "source ~/.virtualenvwrapper.sh" >> ~/.bash_profile | echo "source ~/.virtualenvwrapper.sh" >> ~/.bash_profile | ||
# Ubuntu | # Ubuntu | ||
echo "source ~/.virtualenvwrapper.sh" >> ~/.bashrc | echo "source ~/.virtualenvwrapper.sh" >> ~/.bashrc | ||
source ~/.virtualenvwrapper.sh | source ~/.virtualenvwrapper.sh | ||
mkvirtualenv --no-site-packages flightdeck | mkvirtualenv --no-site-packages flightdeck | ||