mfrasca / bauble.classic

desktop version of Bauble
http://bauble.readthedocs.io
GNU General Public License v2.0
2 stars 1 forks source link

write the development installation script #52

Closed mfrasca closed 9 years ago

mfrasca commented 9 years ago

it is practical while developing/adapting bauble if people can get an installation which is linked to the github master version. or possibly to a development version, but without the user learning use git.

I have installed bauble this way on the JBQ linux (virtual)box, and I think I have noted down all steps, so it should be easy to include a devinstall script here.

mfrasca commented 9 years ago

but then how do I make it available to people who didn't yet install git and download the sources?!?

sudo apt-get -y python-gtk2 git virtualenvwrapper
echo export WORKON_HOME=$HOME/.virtualenvs >> ~/.profile
echo export PROJECT_HOME=$HOME/Devel >> ~/.profile
echo source /usr/share/virtualenvwrapper/virtualenvwrapper.sh >> ~/.profile
. ~/.profile
mkdir -p ~/Local/github/mfrasca
cd ~/Local/github/mfrasca
git clone https://github.com/mfrasca/bauble.classic
mkvirtualenv bacl
workon bacl
python setup.py build
python setup.py install
mkdir ~/bin
echo workon bacl >> ~/bin/bauble
echo bauble >> ~/bin/bauble
chmod +x ~/bin/bauble