Skip to content

Instantly share code, notes, and snippets.

@jerinphilip
Created March 9, 2016 08:24
Show Gist options
  • Save jerinphilip/5726c0a2b8e0e61e736d to your computer and use it in GitHub Desktop.
Save jerinphilip/5726c0a2b8e0e61e736d to your computer and use it in GitHub Desktop.
Installing SILPA - Workaround for pbr-submodule bug.
# This is tested on archlinux, make changes in your distribution
# or if you're using virtualenv accordingly.
# Clone repo, update submodules
git clone https://github.com/libindic/Silpa-Flask.git
cd Silpa-Flask
git pull origin development
# Setting up submodule
git submodule init
git submodule update
# Move jquery.ime to a temporary directory
mv silpa/frontend/static/js/jquery.ime silpa/frontend/static/js/tmp
sudo python2 setup.py install
# Installation will finish with no error reported.
mv silpa/frontend/static/js/tmp silpa/frontend/static/js/jquery.ime
# Copy jquery.ime manually
sudo cp silpa/frontend/static/js/jquery.ime \
/usr/lib/python2.7/site-packages/silpa/frontend/static/js/
# Start the server. Should work, if you got till here without errors.
python2 wsgi.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment