It is re-implement the Timecard (http://timecard-rails.herokuapp.com/) by Google App Engine / Python. Only implements API via Google Cloud Endpoints.
$ 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
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/timecard-gae
(timecard-gae)$ make
(timecard-gae)$ make runserver
then access to:
- admin server: http://localhost:8000
- instance server: http://localhost:8080/
(timecard-gae)$ make deploy
- Bundler
- GNU Make
- Google App Engine SDK
- Python 2.7
- npm