Skip to content

ZeroPage/zp-library

Repository files navigation

requirements

Setup

  1. Download and unarchive on the project root
  2. Run pip install -t lib -r requirement.txt
  3. Run bower install
  4. Copy app.yaml.template to app.yaml.
  5. Get Github Client Key from here.
    • Homepage URL must be set correctly. If you're just testing on your local, use http://127.0.0.1:8080.
    • 'Authorization callback URL' must be (host)/#!/auth/github. Just like http://127.0.0.1:8080/#!/auth/github
  6. Set your application ID on GAE and Github API keys from above step in app.yaml
  7. Run dev_appserver.py .
  8. Visit (host)/init on your browser and log in as Administrator.

How to use on local

  1. Run dev_appserver.py . on the project root.
  2. Visit one of the URLs below on your browser:
    • http://127.0.0.1:8080: Client
    • https://127.0.0.1/api/ui: API Client.
    • https://127.0.0.1:8000: Admin console

How to deploy on GAE

  1. Run appcfg.py update . on the project root.
  2. Visit one of the URLs below on your browser:
    • http://(your-project-id).appspot.com: Client
    • http://(your-project-id).appspot.com/api/ui: API Client.
    • https://console.developer.google.com: Admin console

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published