Created
March 9, 2016 08:24
-
-
Save jerinphilip/5726c0a2b8e0e61e736d to your computer and use it in GitHub Desktop.
Installing SILPA - Workaround for pbr-submodule bug.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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