/python-dev-bootstrap

A Vagrant VM based Python Development Bootstrap

Primary LanguagePython

DESCRIPTION

Complete Python Development Environment on top of a Vagrant VM, forked to make a base for farmer's market companion app

REQUIREMENTS

BASIC USAGE

  1. Assuming you have met the above requirements.

  2. 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:

  1. Python
  2. PIL
  3. PIP
  4. SciPy
  5. BioPy
  6. Redis, MongoDB, Postgres, MySQL, Elastic Search
  7. Django
  8. SQLAlchemy
  9. Bottle
  10. Twisted
  11. Vim
  12. IDLE
  13. gEdit
  14. SublimeText2
  15. Pyes
  16. POW (Python on Wheels) & Dep...
  17. pyQt
  18. NumPy
  19. numarray
  20. matplotlib
  21. scrape
  22. Beautiful Soup
  23. pythonweb
  24. mechanize
  25. flask

Hint: Not everything of this is installed by default. Change comments at the end of manifests/init.pp to influence it.

SETTING UP THE DATABASE

...is done for you in vagrant_init.sh upon "vagrant up" or "vagrant provision"

TESTING A DJANGO APP FROM VAGRANT

	$ 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.:

http://192.168.33.10:8000/

For the admin panel:

http://192.168.33.10:8000/admin

admin = admin password = password

For the farmlyvore:

http://192.168.33.10:8000/farmlyvore