Simple catalog demo using Flask and SQLAlchemy
- Python 2.7
- Flask
- Flask-SeaSurf
- dicttoxml
- SQLAlchemy
- Oauth2client
- Vagrant
Start VM
cd vagrant/
vagrant up
SSH VM
vagrant ssh
Set up Database
cd /vagrant/catalog/
python database_init.py
Run Server
cd /vagrant/catalog/
python app.py
Access the demo
http://localhost:5000/
Exit SSH session
exit
Suspend VM
vagrant suspend
http://stackoverflow.com/questions/15408969/how-do-i-destroy-a-vm-when-i-deleted-the-vagrant-file