Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Render deployment guide #802

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion en-US/deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 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.

$ mkdir /opt/app/beepkg
Expand Down Expand Up @@ -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)