Add deploy buttons and clean environment variables (#974)

* add render.yaml

* Clean environment variables



---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Félix Malfait
2023-07-31 14:36:04 -07:00
committed by GitHub
parent a90cbac5e6
commit b028d9fd2a
31 changed files with 194 additions and 112 deletions

View File

@ -1,7 +1,7 @@
---
sidebar_position: 0
sidebar_custom_props:
icon: TbArrowBigRight
icon: TbDeviceDesktop
---
# Local Setup

View File

@ -19,9 +19,7 @@ You will find these in the [infra/prod/front/Dockerfile](https://github.com/twen
```bash
docker build \
--build-arg REACT_APP_API_URL=REPLACE_ME \
--build-arg REACT_APP_AUTH_URL=REPLACE_ME \
--build-arg REACT_APP_FILES_URL=REPLACE_ME \
--build-arg REACT_APP_SERVER_BASE_URL=REPLACE_ME \
-t twenty-front:latest \
-f ./infra/prod/front/Dockerfile .
```
@ -36,10 +34,19 @@ docker build \
-f ./infra/prod/server/Dockerfile .
```
## Render
[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/twentyhq/twenty)
## AWS Elastic Beanstalk (soon)
We are working on providing a joint Docker image - containing both the Twenty frontend and server - that you can deploy using [AWS Elastic Beanstalk](https://aws.amazon.com/elasticbeanstalk/).
## Railway (soon)
[Railway](https://railway.app) is an infrastructure platform that lets you deploy to the cloud in one click. We are currently working on making it available.
<!--
## Railway
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/YWGqza?referralCode=3CLObs)
-->

View File

@ -4,6 +4,6 @@ sidebar_custom_props:
icon: TbTerminal2
---
# CLI (soon)
# CLI
Available soon!