Giter Site home page Giter Site logo

gogo's Introduction

部署 APP


首先在 heroku 绑定自己的GitHub
fork 一下 https://github.com/Kisesy/Gogo 到自己 GitHub

在 heroku 新建个app,建完之后在部署页面(deploy)有个 Deployment method,选成 Github
然后在下面的 Connect to GitHub 右边的框里写上 "gogo",点搜索,选上刚才 fork 的 Gogo

在 settings 页有个 Buildpacks 点击 add Buildpack
填上 https://github.com/heroku/heroku-buildpack-java
回到部署页面,点最下面的 Deploy Branch 就行了

这样就完成了 App 的部署

打开 GoGo 里 config 文件夹下的 gogo.conf,把部署的 app 按下面这样写

	  "version" : "1.6.0",
	  "proxyOnlyForForeignIPs" : "true",
	  "apps" : [{
		"app" : "创建App的名字", <==== 关键
		"platform" : "heroku"
	  }, {
		"app" : "freetunnel0",
		"platform" : "heroku"
	  }, {
		"app" : "freetunnel1",
		"platform" : "heroku"
	  }

重载gogo,打开 http://127.0.0.1:9092/apps 就能看到效果了

gogo's People

Contributors

vstephenzhou avatar kisesy avatar

Watchers

 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.