Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Getting Started: Create and Manage Cloud Resources: Challenge
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
Step 3:kubectl get pods

Step 4:cat << EOF > startup.sh
#! /bin/bash
apt-get update
apt-get install -y nginx
service nginx start
sed -i -- 's/nginx/Google Cloud Platform - '"\$HOSTNAME"'/' /var/www/html/index.nginx-debian.html
EOF
#! /bin/bash
apt-get update
apt-get install -y nginx
service nginx start
sed -i -- 's/nginx/Google Cloud Platform - '"\$HOSTNAME"'/' /var/www/html/index.nginx-debian.html
EOF

Step 5:gcloud compute instance-templates create web-server-template \
--metadata-from-file startup-script=startup.sh \
Expand Down
2 changes: 1 addition & 1 deletion Integrate with Machine Learning APIs: Challenge Lab
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#WATCH FULL LAB ON : https://www.youtube.com/watch?v=ZZBt6geViXc

python3 analyze-images.py $DEVSHELL_PROJECT_ID $DEVSHELL_PROJECT_ID
python analyze-images.py $DEVSHELL_PROJECT_ID $DEVSHELL_PROJECT_ID


SELECT locale,COUNT(locale) as lcount FROM image_classification_dataset.image_text_detail GROUP BY locale ORDER BY lcount DESC