diff --git a/packages/twenty-docs/docs/start/self-hosting/enviroment-variables.mdx b/packages/twenty-docs/docs/start/self-hosting/environment-variables.mdx similarity index 98% rename from packages/twenty-docs/docs/start/self-hosting/enviroment-variables.mdx rename to packages/twenty-docs/docs/start/self-hosting/environment-variables.mdx index 926489ac93..c4717a755c 100644 --- a/packages/twenty-docs/docs/start/self-hosting/enviroment-variables.mdx +++ b/packages/twenty-docs/docs/start/self-hosting/environment-variables.mdx @@ -1,5 +1,5 @@ --- -title: Enviroment Variables +title: Environment Variables sidebar_position: 1 sidebar_custom_props: icon: TbVariable @@ -156,5 +156,5 @@ import TabItem from '@theme/TabItem'; diff --git a/packages/twenty-docs/docs/start/self-hosting/self-hosting.mdx b/packages/twenty-docs/docs/start/self-hosting/self-hosting.mdx index 4d3b50ff18..8345580fbe 100644 --- a/packages/twenty-docs/docs/start/self-hosting/self-hosting.mdx +++ b/packages/twenty-docs/docs/start/self-hosting/self-hosting.mdx @@ -11,7 +11,7 @@ Feel free to open issues on [GitHub](https://github.com/twentyhq/twenty/issues/n Prebuilt images for both front and back-end can be found on [docker hub](https://hub.docker.com/r/twentycrm/). -For correct operation your will need to set [environment variables](enviroment-variables), a example configuration can be found [here](https://github.com/twentyhq/twenty/blob/main/packages/twenty-server/.env.example). +For correct operation your will need to set [environment variables](environment-variables), a example configuration can be found [here](https://github.com/twentyhq/twenty/blob/main/packages/twenty-server/.env.example). ## Render diff --git a/packages/twenty-server/.env.example b/packages/twenty-server/.env.example index 44e1b2524c..804b7dccd5 100644 --- a/packages/twenty-server/.env.example +++ b/packages/twenty-server/.env.example @@ -39,6 +39,7 @@ SIGN_IN_PREFILLED=true # REDIS_PORT=6379 # DEMO_WORKSPACE_IDS=REPLACE_ME_WITH_A_RANDOM_UUID # SERVER_URL=http://localhost:3000 +# Email Server Settings, see this doc for more info: https://docs.twenty.com/start/self-hosting/environment-variables # EMAIL_DRIVER=logger # EMAIL_SMTP_HOST= # EMAIL_SMTP_PORT= diff --git a/packages/twenty-utils/dangerfile.ts b/packages/twenty-utils/dangerfile.ts index 200b8f24a9..c942d8c2e4 100644 --- a/packages/twenty-utils/dangerfile.ts +++ b/packages/twenty-utils/dangerfile.ts @@ -18,16 +18,16 @@ if (packageChanged && !lockfileChanged) { warn(`${message} - ${idea}`); } -// Check if .env.example was changed, but not enviroment variable documentation +// Check if .env.example was changed, but not environment variable documentation const envChanged = danger.git.modified_files.find((x) => x.includes('.env.example')) || danger.git.modified_files.find((x) => x.includes('environment.service.ts')); const envDocsChanged = danger.git.modified_files.includes( - 'enviroment-variables.mdx', + 'environment-variables.mdx', ); if (envChanged && !envDocsChanged) { const message = - 'Changes were made to the enviroment variables, but not to the documentation'; + 'Changes were made to the environment variables, but not to the documentation'; const idea = 'Please review your changes and check if a change needs to be documented!'; warn(`${message} - ${idea}`);