Skip to content

Instantly share code, notes, and snippets.

@tacitphoenix
Created September 29, 2011 01:47
Show Gist options
  • Save tacitphoenix/1249792 to your computer and use it in GitHub Desktop.
Save tacitphoenix/1249792 to your computer and use it in GitHub Desktop.
Quick, Fun and Painless way to setup Bottle on a Mac. Enjoy the minimalistic Python Micro Framework goodness!
Bottle -> The minimalistic Python Mirco Framework
Prequisites:
1) Python 2.7 (This comes with the mac)
2) pip - python package manager (replacement for easy_install) think gems for Ruby
3) virtualenv - manage dependencies created by having multiple projects think rvm for Ruby
4) Bottle Module
Setup
- python -V (check python version should be 2.7.x)
- curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python (install pip)
- sudo pip install virtualenv
- verify in trivialtuesdays/sourcecode/bottle directory
- virtualenv env (create virtual environment)
- . env/bin/activate (activate virtual environment)
- pip install bottle
- Enjoy!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment