Skip to content

Instantly share code, notes, and snippets.

@jorandradefig
Last active December 17, 2017 20:58
Show Gist options
  • Save jorandradefig/0ce80e60adaff64ce48751907bdad4f7 to your computer and use it in GitHub Desktop.
Save jorandradefig/0ce80e60adaff64ce48751907bdad4f7 to your computer and use it in GitHub Desktop.
Golang

Google Cloud SDK

brew cask install google-cloud-sdk

gcloud auth login

gcloud components update

gcloud components install app-engine-go

cd /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin/bootstrapping

python install.py

Go

mkdir $HOME/Go
mkdir -p $HOME/Go/src/github.com/jorandradefig

export GOPATH=$HOME/Go
export GOROOT=/usr/local/opt/go/libexec
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin

brew install go

go get golang.org/x/tools/cmd/godoc

go get -v github.com/uudashr/gopkgs/cmd/gopkgs

cd $GOPATH/src/github.com/onlyangel

git clone https://github.com/onlyangel/EmiLeanProPlatform.git

cd EmiLeanProPlatform

go get github.com/gorilla/sessions

dev_appserver.py app.yaml

open http://localhost:8000/

open http://localhost:60282/

open http://localhost:8080/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment