Let's finish the work quickly and go TAP BEER!

Looking for sponsors:
Supports:
Low cost operating:
Performance:
Coding:
Development:
Testing:
Utils:
Continuous Integration Supports:
$ git clone --depth 1 https://github.com/MiCHiLU/gae-tap.git
$ cd gae-tap
$ bundle install
$ npm install
$ mkvirtualenv --python=`which python2.7` gae-tap
(gae-tap)$ pip install -r requirements.txt
(gae-tap)$ pip install -r requirements-gae.txt
It need the GOOGLE_APPENGINE environ args. Default GOOGLE_APPENGINE as below:
GOOGLE_APPENGINE=$HOME/google-cloud-sdk/platform/google_appengine
If you want to set other path, define GOOGLE_APPENGINE in environ as below:
$ GOOGLE_APPENGINE=<path to your gae> make
or, Quickly set up environment via Docker:
$ docker pull michilu/gae-tap
First, you must be build core library:
(gae-tap)$ (cd gae/tap && make release)
Then, if you want to add templates of gae-tap to git repository:
$ git add \
gae/site-packages/tap_templates_compiled.zip \
gae/tap/static/js/admin_response_cache.js \
gae/tap/static/js/admin_response_cache.min.js \
gae/tap/static/js/error_page.js \
gae/tap/static/js/error_page.min.js \
gae/tap/static/js/utils.js \
gae/tap/static/js/utils.min.js
Or, update core library from releases:
gaetap-<release-number>.zip file from https://github.com/MiCHiLU/gae-tap/releasesIf you want to start a new project with make scaffold, as below:
$ make scaffold
your project name, default 'gae-tap': <type your project name>
your github user name, default 'MiCHiLU': <type your github user name>
your app-id, default 'gae-tap': <type your app-id>
(gae-tap)$ make
(gae-tap)$ make runserver
then access to:
First, you must be install iPython:
(gae-tap)$ pip install ipython
Then, type make shell command as below:
(gae-tap)$ make shell
Python 2.7.5 (default, Mar 9 2014, 22:15:05)
IPython 2.3.1 -- An enhanced Interactive Python.
Doctest mode is: ON
>>>
Access to the Datastore on the development environment in the iPython shell:
(gae-tap)$ make shell
>>> from google.appengine.ext import testbed
>>> tb = testbed.Testbed()
>>> tb.setup_env(app_id='dev~your-app-id')
>>> tb.activate()
>>> tb.init_datastore_v3_stub(datastore_file='../assets/tmp/datastore.db', use_sqlite=True)
>>> tb.init_memcache_stub()
>>> tb.init_taskqueue_stub()
>>> from your-app import model
(gae-tap)$ make deploy
Auto deploy via Wercker CI:
If you want to auto deploy to the Google App Engine, add a APP_ENGINE_TOKEN variable to Deploy pipeline of Deploy targets in your App on the Wercker CI.
then access to:
You can run a script:
$ ./assets/fetch_django-1.5.x.sh
You can patching to Google App Engine SDK:
$ patch -d $GOOGLE_APPENGINE -p0 -i $PWD/gae/tap/endpoints.patch
You can patching to Google App Engine SDK:
$ patch -d $GOOGLE_APPENGINE -p0 -i $PWD/gae/tap/docker.patch
Licensed under the terms of the MIT.
Copyright (c) 2013 ENDOH takanao
Content type
Image
Digest
sha256:db393b8fe…
Size
363.7 MB
Last updated
almost 11 years ago
docker pull michilu/gae-tap