This is a sample web application to accompany my final project for the fall 2014 CSCIE90 class at Harvard Extension School. Resources for the project can be found at:
The simplest way to play with this code is using Vagrant. Use the following commands to execute the demo locally.
vagrant up
vagrant ssh
cd /vagrant
./setup-dev.sh
This code is designed to be used with AWS CodeDeploy, however you can also simply copy this code to an Amazon Linux EC2 instance and execute the following:
./setup-prod.sh
To start the webserver, execute:
python app.py
After that you should be able to access:
- http://localhost:8080/ - Will show a simple Python overview page.
- http://localhost:8080/version - Will read and show the
version.txt
file.
You should be able to edit the version.txt
and do muptiple deployments of
this code using AWS CodeDeploy. This is discussed in more detail in the full
report (link above).