Welcome Guest, Not a member yet? Register   Sign In
Creating an app.yaml for CI application
#1

(This post was last modified: 05-19-2018, 05:18 AM by richb201.)

I'vs decided that I should get my app up and running on Google Cloud App Engine. To do this I will work in steps. First I will get the application running on my local development server. To do this step I need to create an app.yaml. An app.yaml is a file that describes where calls will be routed to. Here is what I have so far for my app.yaml:

untime: php56
api_version: 1

handlers:
- url: /
  script: Configure.php

- url: /index\.html
  script: Configure.php
  
- url: /subit_backend\.html
  script: Subit_backend.php

- url: /stylesheets
  static_dir: stylesheets

- url: /(.*\.(gif|png|jpg))$
  static_files: static/\1
  upload: static/.*\.(gif|png|jpg)$

- url: /.*
  script: not_found.php

Has anyone had any experience in setting up a CI application to run with an app.yaml? When I try to start up the appserver with dev_appserver.py c:\xampp\htdocs\sub_crud I get an error that I am missing a file called setup. Is this a CI file or is this a appengine required file? This same app runs fine on xampp locally and on my website too.
proof that an old dog can learn new tricks
Reply


Messages In This Thread
Creating an app.yaml for CI application - by richb201 - 05-19-2018, 05:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB