Skip to content

Google App Engine with Bootstrap, Flask and tons of other cool features

License

Notifications You must be signed in to change notification settings

gmist/my-gae-init

 
 

Repository files navigation

gae-init

Slack Status code style: prettier

gae-init is the easiest boilerplate to kick start new applications on Google App Engine using Python, Flask, RESTful, Bootstrap and tons of other cool features.

Read the documentation, where you can find a complete feature list, a detailed tutorial, the how to section and more..

The latest version is always accessible from https://gae-init.appspot.com

Requirements

Make sure you have all of the above or refer to the docs on how to install the requirements.

Running the Development Environment

cd /path/to/project-name
gulp

To test it visit http://localhost:3000 in your browser.


For a complete list of commands:

gulp help

Initializing or Resetting the project

cd /path/to/project-name
yarn
gulp

If something goes wrong you can always do:

gulp reset
yarn
gulp

To install Gulp as a global package:

yarn global add gulp-cli

Local testing

If you wish to run an automated test script, there is an additional dependency which can be installed with:

pip install -r test-requirements.txt

A simple test script framework, following the approach from the Google App Engine docs, can be run:

python main/runner.py --test-path tests ${HOME}/google-cloud-sdk/

This simply tests that the site can start up; that the index page exists (and returns an http response code of 200), and that a non-existent page returns an http response code of 404.

The test framework is easily extensible.

Deploying on Google App Engine

gulp deploy
gulp deploy --project=foo
gulp deploy --project=foo --version=bar
gulp deploy --project=foo --version=bar --no-promote

Tech Stack

About

Google App Engine with Bootstrap, Flask and tons of other cool features

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 57.6%
  • HTML 31.1%
  • CoffeeScript 4.2%
  • JavaScript 4.1%
  • CSS 2.5%
  • Shell 0.5%