This repository was archived by the owner on Sep 10, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 8
8
bower_components /
9
9
composer.lock
10
10
composer.phar
11
- cron.yaml
12
11
env /
13
12
node_modules /
14
13
site /
Original file line number Diff line number Diff line change 18
18
# =============================================================================
19
19
20
20
---
21
+ # Update with the project id.
21
22
application : your-appengine-project-id
22
23
version : 1
23
24
runtime : php55
24
25
api_version : 1
25
26
threadsafe : yes
26
27
27
28
handlers :
28
- - url : /(.*\.(css|gif|ico|jpeg|jpg|js|map|png))$
29
+ - url : /favicon\.ico
30
+ static_files : favicon.ico
31
+ upload : favicon\.ico
32
+ secure : always
33
+
34
+ - url : /(.*/(public|SwaggerUI)/.*\.(css|gif|ico|jpeg|jpg|js|map|png))$
29
35
static_files : \1
30
36
upload : .*\.(css|gif|ico|jpeg|jpg|js|map|png)$
31
37
secure : always
32
38
39
+ # Must enable the task scheduler module. The cron job is defined in cron.yaml.
33
40
- url : /scheduler/run
34
41
script : index.php
35
42
login : admin
@@ -39,6 +46,7 @@ handlers:
39
46
script : index.php
40
47
secure : always
41
48
49
+ # Update with the bucket name and the project id. Also update php.ini with the bucket name.
42
50
env_variables :
43
51
midas_data_path : gs://your-cloudstorage-bucket/data
44
52
midas_email_sender : no-reply@your-appengine-project-id.appspotmail.com
@@ -48,7 +56,7 @@ env_variables:
48
56
skip_files :
49
57
- ^(.*/)?.*/(\.DS_Store|\.htaccess|\.gitignore|CMakeLists\.txt|.*\.java)$
50
58
- ^(.*/)?.*/\.sass-cache/.*
51
- - ^(.*/)?(\.coveralls\.yml|\.editorconfig|\.travis\.yml|AUTHORS|bower\.json|composer\.json|composer\.lock|composer\.phar|COPYRIGHT|CTestConfig\.cmake|cron-sample\.yaml |LICENSE|mkdocs\.yml|phpunit\.xml\.dist|README\.md|requirements\.txt|Vagrantfile)$
59
+ - ^(.*/)?(\.codeclimate\.yml|\. coveralls\.yml|\.editorconfig|\.styleci\.yml|\. travis\.yml|AUTHORS|bower\.json|composer\.json|composer\.lock|composer\.phar|COPYRIGHT|CTestConfig\.cmake|LICENSE|mkdocs\.yml|phpunit\.xml\.dist|README\.md|requirements\.txt|Vagrantfile)$
52
60
- ^(.*/)?core/configs/.*\.local\.ini$
53
61
- ^(.*/)?(\.git|\.idea|\.vagrant|data|docs|env|log|provisioning|site|tests|tmp|utils)/.*
54
62
- ^(.*/)?(core|modules/.*)/(database/(pgsql|sqlite)|tests)/.*
Original file line number Diff line number Diff line change 18
18
# =============================================================================
19
19
20
20
---
21
- # Enable the task scheduler module and rename this file "cron.yaml" .
21
+ # Must enable the task scheduler module.
22
22
cron :
23
23
- description : task scheduler job
24
24
url : /scheduler/run
25
- schedule : every 10 minutes
25
+ schedule : every 12 minutes
Original file line number Diff line number Diff line change 1
1
; Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0.
2
2
3
+ extension = " curl.so"
3
4
extension = " imagick.so"
5
+ ; Update with the bucket name. Also update app.yaml with the project id and bucket name.
4
6
google_app_engine.allow_include_gs_buckets = " your-cloudstorage-bucket"
5
7
google_app_engine.enable_functions = " php_sapi_name, phpversion"
6
8
session.cookie_httponly = On
You can’t perform that action at this time.
0 commit comments