OLD Subscriptions repository - see the new repo
CSS JavaScript HTML Python Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
nginx
static
templates
.gitignore
Gruntfile.js
README.md
app.yaml
package.json
subscription.py

README.md

Subscriptions

App-engine project to display the static forms for the new Guardian subscriptions.

It is currently available at http://guardian-subscriptions.appspot.com/

Usage

  • Download the google appengine sdk
  • Install npm and bower dependencies

Running the app locally

Setup nginx

nginx/setup.sh

To run the app locally, use the following command.

<path-to-virtualenv>/bin/python <path-to-google-appengine-sdk>/dev_appserver.py <path-to-subscriptions> --port=8088

e.g.

venv/bin/python ~/bin/google_appengine/dev_appserver.py . --port=8088

Deploying (uploading) your changes

Updating the application is done using the appcfg command in the Python SDK.

<path-to-virtualenv>/bin/python <path-to-google-appengine-sdk>/appcfg.py update <path-to-subscriptions>

e.g.

venv/bin/python ~/bin/google_appengine/appcfg.py update .

View at http://subscribe.thegulocal.com/

Notes

Subscriptions uses pasteup.