You need to install the following software for this class.
Install Python
If your machine doesn't come with Python, you need to install it. I strongly recommend installing Python via Anaconda.
You need to install Python 2.7; please be sure to choose this if you are downloading Anaconda for the first time.
If you have already Python 3.x installed via Anaconda, you can add Python 2.7 by creating a python27 Python environment based on Python 2.7 like this:
conda create -n python27 python=2.7 anaconda
When you want to use Python 2.7, such as just before running web2py, you can do:
source activate python27
Install Git
Install git, if you don't have it already.
Install some kind of terminal
For Mac OS X, I recommend iTerm2. For Windows, you can use:
For linux, you already have a terminal, of course.
Bottle.py is a single-file web server that is fast and simple. You can install it simply via
pip install bottle
and here you can find its documentation.
Install Web2py
cd web2py/applications
git clone https://luca_de_alfaro@bitbucket.org/luca_de_alfaro/web2py_start.git start
python web2py/web2py.py -e
Install Ruby
Install Ruby. We won't be coding in Ruby, but it is used by Compass.
Install Compass
Install Compass. We will be using Compass for CSS.
Install PyCharm
Recommended, but not required. Install PyCharm professional edition. It will make your life much easier and your productivity much higher. A free edition for students is available. PyCharm is an excellent Python editor with support for code analysis, and it supports web2py. It will make your development much more effective. PyCharm normal edition is free, but it does not support web2py, and the code analysis is thus not nearly as helpful.
Install SourceTree
SourceTree is recommended, but not required. Useful to look at git repositories.