hello

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2018 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

go-appengine

  • google appengine test using golang

go-appengine 환경 구성

##########
# 작업환경1 - google clould 접속해서 작업하기
# google cloud console -> shell 접속

##########
# 작업환경2 - 로컬에서 작업하기
# go appengine sdk 다운로드 및 설치
# https://cloud.google.com/appengine/downloads
# mac
wget https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-136.0.0-darwin-x86_64.tar.gz
tar zxvf google-cloud-sdk-136.0.0-darwin-x86_64.tar.gz
./google-cloud-sdk/install.sh
export PATH=$PATH:~/workspace/google-cloud-sdk/bin
gcloud components install app-engine-go

# ubuntu
export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)"
echo "deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
sudo apt-get update && sudo apt-get install google-cloud-sdk
sudo apt-get install google-cloud-sdk-app-engine-java
sudo apt-get install google-cloud-sdk-app-engine-go

appengine 관리

# google cloud 초기화
# url 링크 후 verification code 확인하여 입력 -> 기존 프로젝트 또는 신규 프로젝트 생성 선택
gcloud init

# glcoud  구글 app engine 에 배포하기(배포 종료시 접속 가능한 url 이 표시된다.)
gcloud app deploy ./app.yaml --promote

# 배포가 완료되면 확인
https://strategic-ivy-120508.appspot

# 배포 후 접속 URL 확인 하기
gcloud app browse

# 앱 로그 확인
gcloud app logs tail -s default

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL