forked from bzed/go.debian.net
Deployment
Harsh Daftary edited this page Aug 21, 2016
·
2 revisions
One click installation :
- Python 2.6+:
user@go.debian.net$ sudo bash ./install.sh
- Python 3.x:
user@go.debian.net$ sudo bash ./install.sh python3
Manual Installation :
-
Update apt and installing git :
apt-get -qq updateapt-get install git -y -
Installing postgresql (optional) :
apt-get install postgresql postgresql-contrib -y -
Installaing SQLite (It is included in the standard library since Python 2.5) :
pip install pysqlite
pip3 install pysqlite -
Python 2.6+ :
apt-get install python-ipy -y
apt-get install python-requests -y
apt-get install python-psycopg2 -y
apt-get install python-flask -y
apt-get install python-sqlalchemy -y
apt-get install python-memcache -y
- Python 3.x :
apt-get install python3-requests -y
apt-get install python3-psycopg2 -y
apt-get install python3-flask -y
apt-get install python3-ipy -y
apt-get install python3-sqlalchemy -y
memcached library is not packaged for python3 so use pip for that.
apt-get install python3-pip -y
pip3 install python-memcached