Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
Adding a sample project for running a smart mailbox and a
smart planter within the Google Smart Home ecosystem. The mailbox and
planter are intended to be run on a raspberry pi, and the server is intended
to be run on Google App Engine (using the provided app.yaml).
  • Loading branch information
sewl-dl committed May 17, 2018
0 parents commit f63163f
Show file tree
Hide file tree
Showing 61 changed files with 6,899 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
package-lock.json
27 changes: 27 additions & 0 deletions app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2018, Google, Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# [START app_yaml]
runtime: nodejs
env: flex
automatic_scaling:
min_num_instances: 1
max_num_instances: 1
cool_down_period_sec: 480
env_variables:
NODE_ENV: 'production'
handlers:
- url: .*
script: 'index.js'
# [END app_yaml]

Loading

0 comments on commit f63163f

Please sign in to comment.