Complete Python Development Environment on top of a Vagrant VM, forked to make a base for farmer's market companion app
-
git or one of the Github GUI clients: OSX, [Windows] (http://windows.github.com/), Eclipse
-
Clone this repo: $ git clone [email protected]:emmaberyl/farmbase.git Or, using one of the Github GUI clients, click the button: Clone in {platform}
-
Assuming you have met the above requirements.
-
Provision a new Vagrant VM (using PythonDevBootstrapPrecise as example)
$ cd repo_path (Wherever your cloned path is for this repo) $ vagrant up $ vagrant ssh
The above will build a 512MB virtual machine running Ubuntu with the following installed and configured:
- Python
- PIL
- PIP
- SciPy
- BioPy
- Redis, MongoDB, Postgres, MySQL, Elastic Search
- Django
- SQLAlchemy
- Bottle
- Twisted
- Vim
- IDLE
- gEdit
- SublimeText2
- Pyes
- POW (Python on Wheels) & Dep...
- pyQt
- NumPy
- numarray
- matplotlib
- scrape
- Beautiful Soup
- pythonweb
- mechanize
- flask
Hint: Not everything of this is installed by default. Change comments at the end of manifests/init.pp to influence it.
...is done for you in vagrant_init.sh upon "vagrant up" or "vagrant provision"
$ python manage.py runserver 0.0.0.0:8000
And open web browser to the IP address specified in network configuration within the Vagrantfile, e.g.:
For the admin panel:
http://192.168.33.10:8000/admin
admin = admin password = password
For the farmlyvore: