This repository contains a simple content recommendation system.
It uses Google App Engine Python for the server and AngularJS for the web UI.
-
Install Google App Engine SDK for Python
-
Install dependencies:
pip install -r requirements.txt -t lib
-
Compile proto definitions:
sudo apt install protobuf-compiler protoc protos/*.proto --python_out=.
/usr/bin/dev_appserver.py --host localhost --port 8081 .
The server will be up at: http://localhost:8081
python test_runner.py /usr/lib/google-cloud-sdk
To deploy on App Engine:
export $PROJECT_ID=<insert your project id here>
gcloud app create --project $PROJECT_ID
gcloud datastore indexes create --quiet --project $PROJECT_ID index.yaml
gcloud app deploy --quiet --project $PROJECT_ID queue.yaml
gcloud app deploy --quiet --project $PROJECT_ID .
Apache License 2.0.
This is not an officially supported Google product.