This registry app is a Google App Engine app that provides the core registration and configuration services used by Augment00 clients. This is in the src folder and the readme is here src/README.md
The plan is that all clients are plug-and-play with a USB attached to each desk that provides minimal credentials and configuration. The Raspberry Pis will be given a base images on sd cards that has just jessie lite, docker/compose and a simple startup script. All applications are to be downloaded as docker images and all further configuration pulled from the regisrty service. This will make possible:
- Plug-and-play provisioning without the need for keyboards/screen etc
- Over the air updating of both code and configuration
- Simple ongoing support and maintenance
-
Install the App Engine Python SDK. See the README file for directions. You'll need python 2.7 and pip 1.4 or later installed too.
-
Clone this repo with
git clone git@github.com:augment00/a00_registry.git
-
Install dependencies in the project's lib directory. Note: App Engine can only import libraries from inside your project directory.
cd a00_registry/src pip install -r requirements.txt -t lib
-
Run this project locally from the command line:
dev_appserver.py .
Visit the application http://localhost:8080
See the development server documentation for options when running dev_appserver.
To deploy the application:
-
install gcloud command line tools https://cloud.google.com/sdk/downloads
-
from a00_registry/src run:
gcloud --project=project00-msme app deploy