The aim of this project is an hub for multiple Actions on Google
- ilifev7s-rest-remote Rest remote for Chuwi iLife v7s
PIPENV_VENV_IN_PROJECT=1 pipenv install --dev
Take a look to config.py
ENVIRONMENTtakes the value from FLASK_ENVSSL_CONTEXT_CERTandSSL_CONTEXT_KEYare used only ifENVIRONMENTis not 'development' (you can use letsencrypt to generate them)BASIC_AUTH_USERNAMEandBASIC_AUTH_PASSWORDare optional but recommended to enable basic authSENTRY_DSNis optional and it is the Sentry API key
Run the app (FLASK_ENV is optional and it defaults to 'production'):
PYTHONPATH=".:actions_on_google" FLASK_ENV=development pipenv run python actions_on_google/app.py
To renew a certificate the project must be served on port 80 and with basic-auth disabled. Use the command:
certbot renew --webroot -w $PROJECT_PATH/actions-on-google/actions_on_google/static/
I will improve it when I have more time
- Actions on Google example The code from GDG Pisa that I used to start my project