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:
@ -1,7 +1,7 @@
|
||||
---
|
||||
sidebar_position: 0
|
||||
sidebar_custom_props:
|
||||
icon: TbArrowBigRight
|
||||
icon: TbDeviceDesktop
|
||||
---
|
||||
|
||||
# Local Setup
|
||||
|
||||
@ -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
|
||||
|
||||
[](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
|
||||
[](https://railway.app/template/YWGqza?referralCode=3CLObs)
|
||||
|
||||
-->
|
||||
@ -4,6 +4,6 @@ sidebar_custom_props:
|
||||
icon: TbTerminal2
|
||||
---
|
||||
|
||||
# CLI (soon)
|
||||
# CLI
|
||||
|
||||
Available soon!
|
||||
@ -6,7 +6,7 @@ import Link from '@docusaurus/Link';
|
||||
import isInternalUrl from '@docusaurus/isInternalUrl';
|
||||
import IconExternalLink from '@theme/Icon/ExternalLink';
|
||||
import styles from './styles.module.css';
|
||||
import { TbFaceIdError, TbTerminal2, TbCloud, TbServer, TbBolt, TbApps, TbTopologyStar, TbChartDots, TbBug, TbVocabulary, TbArrowBigRight } from "react-icons/tb";
|
||||
import { TbFaceIdError, TbTerminal2, TbCloud, TbServer, TbBolt, TbApps, TbTopologyStar, TbChartDots, TbBug, TbVocabulary, TbArrowBigRight, TbDeviceDesktop } from "react-icons/tb";
|
||||
|
||||
|
||||
export default function DocSidebarItemLink({
|
||||
@ -30,7 +30,8 @@ export default function DocSidebarItemLink({
|
||||
'TbTopologyStar': TbTopologyStar,
|
||||
'TbChartDots': TbChartDots,
|
||||
'TbBug': TbBug,
|
||||
'TbVocabulary': TbVocabulary
|
||||
'TbVocabulary': TbVocabulary,
|
||||
'TbDeviceDesktop': TbDeviceDesktop,
|
||||
};
|
||||
|
||||
let IconComponent = customProps && customProps.icon ? icons[customProps.icon] : TbFaceIdError;
|
||||
|
||||
Reference in New Issue
Block a user