go-vue

command module
v0.0.0-...-48d0ce5 Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: MIT Imports: 6 Imported by: 0

README

AIM

shadowsocks + proxifier = 直接更新 go 依赖

hero-cli 部署 go

Go Dependencies via dep

https://devcenter.heroku.com/articles/go-apps-with-dep

HOW to use heroku git

https://devcenter.heroku.com/articles/git

问题:
# 查看heroku日志
heroku logs --tail

heroku 启动不成功,查看日志报错: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch

解决方法

heroku 会为 web 应用动态分配 PORT,所以不要固定 PORT 即可

  // r.Run(":3000")
  r.Run()
示例地址:https://go-vue-example.herokuapp.com/

DEPLOY

cd client
npm i
npm run build

cd ..
heroku login

git remote add heroku https://git.heroku.com/go-vue-example.git

git push heroku master

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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