scripts to install and use flask in ubuntu 14
Create a new instance using gcp
GUI: To create a new instance, use the menu button in the upper right hand corner
select >Compute Engine then select >VM Instances
From VM Instances select 'Create Instance +'
From here you'll want to give your new instance a name:
to minimize cost, choose the micro-instance:
select ubuntu 14 as your image:
and allow http and https through the firewall since we'll be using this instance as a web server
open gcloud SDK shell
then ssh into your new instance,
(using the appropriate instance name in place of 'instance-1')
gcloud compute ssh instance-1
sudo apt-get update -y
sudo apt-get install git -y
sudo git clone https://github.com/droidmlwr/gcloud-Ubuntu-14-and-Flask-setup.git
chmod 770 gcloud-Ubuntu-14-and-Flask-setup/*sh
./gcloud-Ubuntu-14-and-Flask-setup/install_startup.sh
replace the generic username information in config_apache.sh