This CLI tool creates a sipgate.io example project in Google Cloud, to give you the chance to try out our examples easily.
- Install the required dependencies (see Requirements).
- Clone this GitHub repository:
git clone [email protected]:sipgate-io/sipgateio-google-deployer.git
- Jump to the directory and make the script executable:
cd sipgateio-google-deployer && chmod +x ./sio-gd
- Create a GCP project on your Google Cloud Dashboard, in which you want to run these examples.
- Make sure the Cloud Build API is enabled
- Start the tool with
./sio-gd
.- Use
--config [config.cfg]
or-c [config.cfg]
to hand in a config file based on the given example. - Alternatively, you can use
--generate-config
or-gc
to fill in the example interactively.
- Use
- Follow the instructions to authenticate with a Google Workspace account.
- Accept the required OAuth scopes and hit continue.
- Wait for the Authentication process to finish.
- Close the Cloud SDK docs and continue within the CLI.
- Select a Google Cloud Project from the presented list.
- Select a sipgate.io example Repo from the presented list or a local Repo (Keep in mind: Your Repo should contain a valid app.yaml and .env.example file).
- Enter a Webhook Server Port (or continue to accept the default).
- Select a desired Region for your App Engine application.
- Wait for the deployment process to finish.
- Configure the Webhook URL in your sipgate Account