Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/funkatron/python-dev-server
Scripts for quickly building a python dev server VM with Vagrant and Ansible
https://github.com/funkatron/python-dev-server
Last synced: about 1 month ago
JSON representation
Scripts for quickly building a python dev server VM with Vagrant and Ansible
- Host: GitHub
- URL: https://github.com/funkatron/python-dev-server
- Owner: funkatron
- License: other
- Created: 2013-09-25T14:44:24.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-25T21:54:25.000Z (about 11 years ago)
- Last Synced: 2023-04-11T01:07:24.477Z (over 1 year ago)
- Language: Ruby
- Size: 125 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python-dev-server
## What it do
Builds a python development VM using vagrant and ansible.
This was mostly put together to learn more about devops and automated deployment. The following articles were very useful:
- [Flask/WSGI Application Deployment with Ubuntu, Ansible, Nginx, Supervisor and uWSGI](http://mattupstate.com/python/devops/2012/08/07/flask-wsgi-application-deployment-with-ubuntu-ansible-nginx-supervisor-and-uwsgi.html)
- [Serving Flask With Nginx](http://vladikk.com/2013/09/12/serving-flask-with-nginx-on-ubuntu/)## How do
In theory, this is how you get it up and running:
1. Install [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
2. Install [Vagrant](http://www.vagrantup.com)
3. Install [Ansible](http://ansibleworks.com/docs/gettingstarted.html). I'd recommend doing it via [`pip`](http://www.pip-installer.org/en/latest/installing.html)
4. Clone this repo into a directory of your choosing
5. In that directory, do `vagrant up`
6. In that same directory, do `./ansible_bootstrap.sh`
7. Navigate to . You should see "Hello World!"## Caveats
- I developed this on an OS X host. YMMV. No idea how it would work on a Windows host.
- Still running Vagrant 1.0.x here for work reasons, so I don't know how well the Vagrantfile will work with newer versions.