From 83e64be0c5a267966c479d02e0fa8056832dabf0 Mon Sep 17 00:00:00 2001 From: Anurag Goel Date: Tue, 9 Apr 2019 22:30:08 -0700 Subject: [PATCH 1/2] Add Render to deployment options --- en-US/deploy/README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/en-US/deploy/README.md b/en-US/deploy/README.md index 758a7c02..3319b25f 100644 --- a/en-US/deploy/README.md +++ b/en-US/deploy/README.md @@ -33,6 +33,12 @@ In development mode: ### Releasing and Deploying +#### Deployment on [Render](https://render.com) +Render is a modern cloud platform that offers native support for Go, fully-managed SSL, zero-downtime deploys, managed PostgreSQL, HTTP/2, and websocket support. It integrates with GitHub and builds your Beego app automatically on every push to your repository. + +Follow the Render [guide to deploying Gin projects](https://render.com/docs/deploy-beego). + +#### Traditional Server Deployment The Go application is a bytecode file after compiling. You just need to copy this file to the server and run it. But remember Beego might also include static files, configuration files and templates, so these three folders also need to be copied to server while deploying. $ mkdir /opt/app/beepkg @@ -61,8 +67,9 @@ There are three ways to run it: - [Stand alone deploy](./beego.md) - [Deploy with Supervisord ](./supervisor.md) - [Deploy with Systemctl ](./systemctl.md) - + The application is exposed above, then usually we will have a nginx or apache to serve pages and perform load balancing on our application. - [Deploy with Nginx](./nginx.md) - [Deploy with Apache](./apache.md) + From e91d07ac1ca7e78bd4c56632b1027f85e8f35803 Mon Sep 17 00:00:00 2001 From: Anurag Goel Date: Thu, 6 Jun 2019 16:02:31 -0700 Subject: [PATCH 2/2] Fix beego link --- en-US/deploy/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en-US/deploy/README.md b/en-US/deploy/README.md index 3319b25f..f461d61f 100644 --- a/en-US/deploy/README.md +++ b/en-US/deploy/README.md @@ -36,7 +36,7 @@ In development mode: #### Deployment on [Render](https://render.com) Render is a modern cloud platform that offers native support for Go, fully-managed SSL, zero-downtime deploys, managed PostgreSQL, HTTP/2, and websocket support. It integrates with GitHub and builds your Beego app automatically on every push to your repository. -Follow the Render [guide to deploying Gin projects](https://render.com/docs/deploy-beego). +Follow the Render [guide to deploying Beego projects](https://render.com/docs/deploy-beego). #### Traditional Server Deployment The Go application is a bytecode file after compiling. You just need to copy this file to the server and run it. But remember Beego might also include static files, configuration files and templates, so these three folders also need to be copied to server while deploying.