Skip to content

Instantly share code, notes, and snippets.

@saxenanurag
Last active January 1, 2016 22:29
Show Gist options
  • Save saxenanurag/8210010 to your computer and use it in GitHub Desktop.
Save saxenanurag/8210010 to your computer and use it in GitHub Desktop.
settings for c9.io
function install_python27 {
wget http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz
tar xvfz Python-2.7.3.tgz
cd Python-2.7.3
./configure --prefix=$HOME
make
make install
cd ..
rm -rf Python-2.7.3*
}
function install_appengine {
wget http://googleappengine.googlecode.com/files/google_appengine_1.7.2.zip
unzip google_appengine_1.7.2.zip
rm google_appengine_1.7.2.zip
mv google_appengine ../lib/
cd ../bin/
ln -s ../lib/google_appengine/*.py .
}
function install_pil {
wget http://effbot.org/downloads/Imaging-1.1.7.tar.gz
tar xvfz Imaging-1.1.7.tar.gz
cd Imaging-1.1.7
python setup.py install
cd ..
rm -rf rm Imaging-1.1.7*
}
install_python27
install_appengine
install_pil
@saxenanurag
Copy link
Author

In order to run dev_appserver.py use : Important: use 'process.env.PORT' as the port and 'process.env.IP' as the host in your scripts!

This is according to the c9.io debugger for python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment