Adds symlink to use DATABASE_URL from root
parent
50a20e2c3b
commit
a839cf7f59
|
@ -21,7 +21,7 @@ CALCOM_LICENSE_KEY=
|
||||||
# ***********************************************************************************************************
|
# ***********************************************************************************************************
|
||||||
|
|
||||||
# - DATABASE ************************************************************************************************
|
# - DATABASE ************************************************************************************************
|
||||||
# ⚠️ ⚠️ ⚠️ DATABASE_URL got moved to `packages/prisma/.env.example` ⚠️ ⚠️ ⚠️
|
DATABASE_URL="postgresql://postgres:@localhost:5450/calendso"
|
||||||
# ***********************************************************************************************************
|
# ***********************************************************************************************************
|
||||||
|
|
||||||
# - SHARED **************************************************************************************************
|
# - SHARED **************************************************************************************************
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
# .env file
|
# .env file
|
||||||
.env
|
.env
|
||||||
|
!packages/prisma/.env
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules
|
node_modules
|
||||||
|
|
|
@ -139,7 +139,7 @@ echo 'NEXT_PUBLIC_DEBUG=1' >> .env
|
||||||
|
|
||||||
#### Manual setup
|
#### Manual setup
|
||||||
|
|
||||||
1. Configure environment variables in the `packages/prisma/.env` file. Replace `<user>`, `<pass>`, `<db-host>`, `<db-port>` with their applicable values
|
1. Configure environment variables in the `.env` file. Replace `<user>`, `<pass>`, `<db-host>`, `<db-port>` with their applicable values
|
||||||
|
|
||||||
```
|
```
|
||||||
DATABASE_URL='postgresql://<user>:<pass>@<db-host>:<db-port>'
|
DATABASE_URL='postgresql://<user>:<pass>@<db-host>:<db-port>'
|
||||||
|
|
|
@ -34,7 +34,6 @@ Here is what you need to be able to run Cal.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cp apps/web/.env.example apps/web/.env
|
cp apps/web/.env.example apps/web/.env
|
||||||
cp packages/prisma/.env.example packages/prisma/.env
|
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Install packages with yarn
|
1. Install packages with yarn
|
||||||
|
@ -54,7 +53,7 @@ yarn dx
|
||||||
|
|
||||||
### Manual setup
|
### Manual setup
|
||||||
|
|
||||||
1. Configure database in the `packages/prisma/.env` file. Replace `<user>`, `<pass>`, `<db-host>`, `<db-port>` with their applicable values
|
1. Configure database in the `.env` file. Replace `<user>`, `<pass>`, `<db-host>`, `<db-port>` with their applicable values
|
||||||
|
|
||||||
```text
|
```text
|
||||||
DATABASE_URL='postgresql://<user>:<pass>@<db-host>:<db-port>'
|
DATABASE_URL='postgresql://<user>:<pass>@<db-host>:<db-port>'
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
../../.env
|
|
@ -1,2 +0,0 @@
|
||||||
# DATABASE_URL='postgresql://<user>:<pass>@<db-host>:<db-port>/<db-name>'
|
|
||||||
DATABASE_URL="postgresql://postgres:@localhost:5450/calendso"
|
|
Loading…
Reference in New Issue