Created by {{whoami}}.
https://{{app_id}}.appspot.com
This is {{app_id}}. It is an absolutely nice project doing something, and is written using the ViUR framework.
The following steps are necessary to setup this project appropriately.
- Create a new Google Cloud project named
{{app_id}}
at https://console.cloud.google.com/projectcreate - Run
./viur-gcloud-setup.sh {{app_id}}
- Once, run
pipenv install --dev
to install a local development environment
After that, you always can locally fire-up your new ViUR project with pipenv run viur run
.
To deploy your project, use pipenv run viur deploy app
, with additional options.
- https://console.cloud.google.com/apis/credentials/consent?project={{app_id}}
- Internal -> Create
- App name: "{{app_id}}" or your project's name
- User-support email (your Gcloud account mail)
- Authorized domain 1: {{app_id}}.appspot.com
- Developer contact: (you contact mail)
- Save & continue
- https://console.cloud.google.com/apis/credentials/oauthclient?project={{app_id}}
- "Web Application" - "Web client 1"
- Configure authorized JavaScript origins
- https://{{app_id}}.appspot.com
- http://localhost:8080
- http://localhost:8081 (for VueJS development)
- http://localhost:8082 (for VueJS development)
- http://localhost
- Configure authorized redirect URIs
- https://{{app_id}}.appspot.com
- http://localhost:8080
- http://localhost:8081 (for VueJS development)
- http://localhost:8082 (for VueJS development)
- http://localhost
- Create
- Copy the client id and assign it to
conf.user.google_client_id
inmain.py
or, when you have multiple projects with the same code-base, you can also store this client id as a secret value and use the same identifier. To do this, follow these steps:- https://console.cloud.google.com/security/secret-manager/create?project={{app_id}}
- Name: google-clientid
- Paste copyied client id and set
conf.user.google_client_id = secret.get("google-clientid")
in yourmain.py
- Optionally set
conf.user.google_gsuite_domains
to authorized Gsuite domains that allow for User registration in your project
Contact @{{whoami}} for help and support.