Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
Add app.yaml and php.ini for Google App Engine support
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Snape committed Jun 30, 2014
1 parent 64851b7 commit 6b0c3b3
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
application: your-appengine-project
version: 1
runtime: php
api_version: 1
threadsafe: yes

handlers:
- url: /(.*\.(css|gif|ico|jpg|js|png))$
static_files: \1
upload: .*\.(css|gif|ico|jpg|js|png)$

- url: /.*
script: index.php

env_variables:
midas_data_path: gs://your-cloudstorage-bucket/data
midas_local_configs_path: gs://your-cloudstorage-bucket/configs
midas_temp_path: gs://your-cloudstorage-bucket/tmp

skip_files:
- ^(.*/)?.*/(.htaccess|CMakeLists\.txt)$
- ^(.*/)?(\.gitignore|\.travis.yml|composer\.json|COPYRIGHT|CTestConfig\.cmake|LICENSE|README\.md|Vagrantfile)$
- ^(.*/)?core/configs/.*\.local\.ini$
- ^(.*/)?(\.git|\.vagrant|data|log|provisioning|tests|tmp|utils)/.*
- ^(.*/)?(core|modules/.*)/(database/(mongo|pgsql)|tests)/.*
- ^(.*/)?library/(CMake|Executable)/.*
- ^(.*/)?modules/(batchmake|cleanup|dicom.*|example|metadataextractor|pvw|remoteprocessing|scheduler|solr|statistics|thumbnailcreator|tracker|visualize)/.*
1 change: 1 addition & 0 deletions php.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google_app_engine.enable_functions = "php_sapi_name"

0 comments on commit 6b0c3b3

Please sign in to comment.