Coder Social home page Coder Social logo

gcloud-ubuntu-14-and-flask-setup's Introduction

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

gcloud-ubuntu-14-and-flask-setup's People

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.