Skip to content

Instantly share code, notes, and snippets.

@cadd
Last active February 29, 2016 12:45
Show Gist options
  • Save cadd/32915b97cc05c542c6f8 to your computer and use it in GitHub Desktop.
Save cadd/32915b97cc05c542c6f8 to your computer and use it in GitHub Desktop.
App Engine app.yaml
application: concrete-rig-315
version: 1
runtime: python27
api_version: 1
threadsafe: yes
handlers:
- url: /api/zahl_eingang2
script: main.app
# login: admin
- url: /api/pin
script: main.app
# login: admin
- url: /api/pin/(.*)
script: main.app
# login: admin
- url: /bower_components
static_dir: dist/bower_components
- url: /fonts
static_dir: dist/fonts
- url: /images
static_dir: dist/images
- url: /scripts
static_dir: dist/scripts
# login: admin
- url: /styles
static_dir: dist/styles
- url: /views
static_dir: dist/views
# login: admin
- url: /robots.txt
static_files: dist/robots.txt
upload: dist/robots.txt
- url: /favicon.ico
static_files: dist/favicon.ico
upload: dist/favicon.ico
- url: /index.html
static_files: dist/index.html
upload: dist/index.html
# login: admin
- url: /
static_files: dist/index.html
upload: dist/index.html
# login: admin
# login: required
# secure: always
skip_files:
- ^(.*/)?#.*#$
- ^(.*/)?.*~$
- ^(.*/)?.*\.py[co]$
- ^(.*/)?.*/RCS/.*$
- ^(.*/)?\..*$
- ^(app/.*)
- ^(node_modules/.*)
- ^(test/.*)
libraries:
- name: MySQLdb
version: "latest"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment