Simple vagrant box for a Python/Google Appengine development environment. This will boot up an ubuntu 12.04 instance and install an entire appengine development environment. It uses host manager for easy local DNS configuration.
Before you can use this project, you'll need to install a few dependencies:
Using this box is simple, you can be up and running with a few short commands:
First, clone this repository to an appropriate location.
git clone [email protected]:rehabstudio/vagrant-python-appengine.git myproject
Next, navigate inside the vagrant folder and provision the guest instance.
cd myproject/vagrant
vagrant up
Once provisioned, you can ssh into the running box and start the appengine development server:
vagrant ssh
runserver # a globally installed alias for dev_appserver.py with some sensible defaults
There is a statement included in the puppet files to search your application root for a package.json
file. If one is found, then the command npm install
will be run on your behalf. The longer a project runs the more likely its dependencies will change. If you add or remove packages from your package.json
file, simply run vagrant provision
to have it re-run the npm install
command.
The Python SDK for Google Appengine will be downloaded and installed during provisioning of the box along with all necessary dependencies. The appropriate paths will be added to the system path to make the SDK's binaries accessible from any location within the box. A simple runserver
alias for dev_appserver.py
is provided that will allow you to run your app with sensible default settings.
alias runserver='dev_appserver.py /home/vagrant/app --host 0.0.0.0 --admin_host 0.0.0.0 --storage_path /home/vagrant/storage --skip_sdk_update_check'
vagrant-python-appengine's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.