Giter Club home page Giter Club logo

vagrant-python-appengine's Introduction

Python/Appengine Vagrant box

vagrant-python-appengine

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.

Requirements

Before you can use this project, you'll need to install a few dependencies:

Installation/Provisioning

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

Node Dependencies (NPM)

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.

Appengine Python SDK

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

Contributors

paddycarey avatar pemcconnell avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.