instruction_txt = md`
Now you can run the following shell commands on your computer to setup the VM:
<pre>
# clone the code
git clone git@github.com:getzlab/slurm_gcp_docker.git slurm_gcp_docker
cd slurm_gcp_docker
# run the remote provision script
python3 src/setup_remote.py \\
--project <b>${gcp_project}</b> \\
--zone <b>${gcp_zone}</b> \\
--machine-type <b>${machine_type}</b> \\
<b>${vm_name}</b>
</pre>
<h2>Connect to the Controller with Port Forwarding</h2>
Finally, to use this dashboard, you will need to forward some ports from the controller to your local computer. Run the following command:
<pre>
gcloud compute ssh \\
--project ${gcp_project} \\
--zone ${gcp_zone} ${vm_name} \\
-- -L ${notebook_port}:localhost:8888 \\
-L ${graphql_port}:localhost:4200 \\
-L ${wolfapi_port}:localhost:9900 \\
-L ${vscode_port}:localhost:8889
</pre>
Then open http://port${graphql_port}.wolfgui.${dashboard_domain}/machine to see the dashboard.
`