Last active
May 16, 2023 15:16
-
-
Save bluemyria/d1c3119c8854e90d0d4464f9a2a24efe to your computer and use it in GitHub Desktop.
GCP Dev: 1. DevEnv - Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Navigation menu => Compute Engine => VM Instances => Create | |
# Identity and API access => Allow full access to all Cloud APIs. | |
# Firewall => Allow HTTP traffic | |
# SSH | |
sudo apt-get update | |
sudo apt-get install git | |
sudo apt-get install python-setuptools python-dev build-essential | |
sudo easy_install pip | |
python --version | |
pip --version | |
git clone https://github.com/GoogleCloudPlatform/training-data-analyst | |
cd ~/training-data-analyst/courses/developingapps/python/devenv/ | |
sudo python server.py | |
sudo pip install -r requirements.txt | |
python list-gce-instances.py <PROJECT_ID> --zone=<YOUR_VM_ZONE> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment