Google Cloud Platform - Development environment set up for Java | Java on GCP | CodingHacks

Опубликовано: 04 Июнь 2020
на канале: CodingHacks
3,641
46

This video shows you how to start with (install) a Node.js application on Google Compute Engine.

Commands outline:
sudo apt-get update
sudo apt-get install git -y
sudo apt-get install -yq maven
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
export GCLOUD_PROJECT="$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/project/project-id)"
java -version
git clone https://github.com/GoogleCloudPlatfor...
ln -s ~/training-data-analyst/courses/developingapps/v1.2/java/devenv ~/devenv
cd ~/devenv
mvn clean install
mvn spring-boot:run

#GCP #GoogleCloud #CodingHacks