Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

timecard-gae

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
Docker Pull Command
Owner
michilu
Source Repository