Learn how to build and deploy your own proof of concept based on the deployed Dynamic web application with JavaScript Jump Start Solution. You can customize the Jump Start Solution deployment by creating a copy of the source code. You can modify the infrastructure and application code as needed and redeploy the solution with the changes.
To avoid conflicts, only one user should modify and deploy a solution in a single Google Cloud project.
Open the directory where the repository is cloned as a workspace in the editor, follow the steps based on whether you are using the Cloud Shell Editor in Preview Mode or Legacy Mode.
Legacy Cloud Shell Editor
- Go to the
File
menu. - Select
Open Workspace
. - Choose the directory where the repository has been cloned. This directory is the current directory in the cloud shell terminal.
New Cloud Shell Editor
- Go the hamburger icon located in the top left corner of the editor.
- Go to the
File
Menu. - Select
Open Folder
. - Choose the directory where the repository has been cloned. This directory is the current directory in the cloud shell terminal.
We also strongly recommend that you familiarize yourself with the Dynamic web application with JavaScript by reading the solution guide.
NOTE: A change in the infrastructure code might cause a change in the incurred cost.
Create an automated deployment
Run the deploy_solution.sh script.
./deploy_solution.sh
Monitor the deployment
Get the deployment details.
gcloud infra-manager deployments describe <var>DEPLOYMENT_NAME</var> --location <var>REGION</var>
Monitor your deployment at Solution deployments page.
Use any of the following methods to save your edits to the solution
Download the solution
To download your solution, in the File
menu, select Download Workspace
. The solution is downloaded in a compressed format.
Save the solution to your Git repository
Set the remote URL to your Git repository
git remote set-url origin [git-repo-url]
Review the modified files, commit and push to your remote repository branch.
Optional: Use one of the below options in case you want to delete the deployed solution
- Go to Solution deployments page.
- Click on the link under "Deployment name". It will take you to the deployment details page for the solution.
- Click on the "DELETE" button located at the top right corner of the page.