Skip to content

Commit 1da0c4c

Browse files
author
Takashi Matsuo
committed
Adding phpmyadmin on App Engine Standard.
1 parent 973ceab commit 1da0c4c

File tree

10 files changed

+1766
-0
lines changed

10 files changed

+1766
-0
lines changed

app_engine/phpmyadmin/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# A config file template for running phpmyadmin on App Engine Standard Environment
2+
3+
The source files in this directory are embeded in [Using phpMyAdmin with Google Cloud SQL on Google App Engine][phpmyadmin-guide]. Please refer to the document for how to use the config file.
4+
5+
[phpmyadmin-guide]: https://cloud.google.com/sql/docs/phpmyadmin-on-app-engine

app_engine/phpmyadmin/app-e2e.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
application: {{your_project_id}}
2+
version: 1
3+
module: phpmyadmin
4+
runtime: php55
5+
api_version: 1
6+
7+
handlers:
8+
9+
- url: /(.+\.(ico|jpg|png|gif))$
10+
static_files: \1
11+
upload: (.+\.(ico|jpg|png|gif))$
12+
application_readable: true
13+
14+
- url: /(.+\.(htm|html|css|js))$
15+
static_files: \1
16+
upload: (.+\.(htm|html|css|js))$
17+
application_readable: true
18+
19+
- url: /(.+\.php)$
20+
script: \1
21+
22+
- url: /.*
23+
script: index.php

app_engine/phpmyadmin/app.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
application: {{your_project_id}}
2+
version: 1
3+
module: phpmyadmin
4+
runtime: php55
5+
api_version: 1
6+
7+
handlers:
8+
9+
- url: /(.+\.(ico|jpg|png|gif))$
10+
static_files: \1
11+
upload: (.+\.(ico|jpg|png|gif))$
12+
application_readable: true
13+
14+
- url: /(.+\.(htm|html|css|js))$
15+
static_files: \1
16+
upload: (.+\.(htm|html|css|js))$
17+
application_readable: true
18+
19+
- url: /(.+\.php)$
20+
script: \1
21+
login: admin
22+
23+
- url: /.*
24+
script: index.php
25+
login: admin
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"require-dev": {
3+
"guzzlehttp/guzzle": "~6.0",
4+
"phpunit/phpunit": "~4",
5+
"symfony/browser-kit": "~2",
6+
"twig/twig": "~1.0"
7+
},
8+
"autoload": {
9+
"psr-4": {"Google\\Cloud\\Test\\": "tests/"}
10+
}
11+
}

0 commit comments

Comments
 (0)