Last active
February 5, 2019 05:29
-
-
Save ychevarrias/e6ab6680477bc980e8be52333c086ec1 to your computer and use it in GitHub Desktop.
Django on Termux
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
apt install python | |
apt install ndk-sysroot clang # For Pillow and complex packages | |
apt install libcrypt-dev # for psycopg2-binary | |
apt install python-pip | |
-- pip install virtualenv | |
-- pip install django pillow | |
-- pip install psycopg2-binary # optional | |
# para instalar postgresql local | |
apt install postgresql | |
-- mkdir -p $PREFIX/var/lib/postgresql | |
-- initdb $PREFIX/var/lib/postgresql | |
-- pg_ctl -D /data/data/com.termux/files/usr/var/lib/postgresql -l logfile start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment