Skip to content

malwaremily/gcloud-Ubuntu-14-and-Flask-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcloud-Ubuntu-14-and-Flask-setup

scripts to install and use flask in ubuntu 14

Getting Started

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:

choose a zone:

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

getting into the box

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

update apt

sudo apt-get update -y

install git

sudo apt-get install git -y

clone this repo to your new instance

sudo git clone https://github.com/droidmlwr/gcloud-Ubuntu-14-and-Flask-setup.git

give all shell scripts permission to execute

chmod 770 gcloud-Ubuntu-14-and-Flask-setup/*sh

run startup script to set up dev env

./gcloud-Ubuntu-14-and-Flask-setup/install_startup.sh

navigate into the folder and edit those config files

replace the generic username information in config_apache.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published