https://github.com/singcl/go-vue
combine go and vue.
https://github.com/singcl/go-vue
Last synced: 5 months ago
JSON representation
combine go and vue.
- Host: GitHub
- URL: https://github.com/singcl/go-vue
- Owner: singcl
- License: mit
- Created: 2018-12-23T16:45:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-22T16:28:38.000Z (about 7 years ago)
- Last Synced: 2025-07-11T11:34:28.098Z (12 months ago)
- Language: Vue
- Size: 701 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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
### 问题:
```sh
# 查看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 即可
```go
// r.Run(":3000")
r.Run()
```
### 示例地址:https://go-vue-example.herokuapp.com/
## DEPLOY
```sh
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
```