This document describe how works the development and deployment process.
The next steps require the gcloud tool, more informations: gcloud downloads
Set your account:
$ gcloud config set account [email protected]
Set the project:
$ gcloud config set project project-id
More informations about Google App Engine standard environment.
Install the dependencies:
worker/$ pip3.6 install -t lib -r requirements.txt -U
NOTE if run many times the pip
do you can insert this argument --upgrade
Start the development server:
worker/$ python3.6 main.py
Access the application:
Install the dependencies:
telegram/$ pip3.6 install -t lib -r requirements.txt -U
NOTE if run many times the pip
do you can insert this argument --upgrade
TOKEN will need change the TOKEN in the code: bot.py
Start the development server:
telegram/$ python3.6 bot.py
Test the application in the Telegram App.
Update the jobs of workers:
/$ gcloud app deploy index.yaml cron.yaml
worker/$ gcloud app deploy app.yaml
telegram/$ gcloud app deploy bot.yaml