Sign inSign up

michilu/timecard-gae

By michilu

•Updated almost 11 years ago

Image
0

491

michilu/timecard-gae repository overview

⁠timecard-gae

Build Status

It is re-implement the Timecard (http://timecard-rails.herokuapp.com/⁠) by Google App Engine / Python. Only implements API via Google Cloud Endpoints.

⁠Set up

$ git clone https://github.com/MiCHiLU/timecard-gae.git
$ cd timecard-gae
$ bundle install
$ npm install
$ mkvirtualenv --python=`which ptyhon2.7` timecard-gae
(timecard-gae)$ pip install -r packages.txt
(timecard-gae)$ pip install -r packages-gae.txt
(timecard-gae)$ pip install -r packages-lxml.txt

⁠Set environ

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

⁠Docker

or, Quickly set up environment via Docker:

$ docker pull michilu/timecard-gae

⁠Build and Test

(timecard-gae)$ make

⁠Run development server

(timecard-gae)$ make runserver

then access to:

⁠Deploy

(timecard-gae)$ make deploy

⁠Dependencies

  • Bundler
  • GNU Make
  • Google App Engine SDK
  • Python 2.7
  • npm

Tag summary

Content type

Image

Digest

sha256:295b07907…

Size

451.3 MB

Last updated

almost 11 years ago

docker pull michilu/timecard-gae