Update install (#785)
This commit is contained in:
@ -66,6 +66,7 @@ The default values should work out of the box. Don't forget to update the databa
|
||||
To build Twenty server and seed some data into your database:
|
||||
```
|
||||
cd server
|
||||
nvm install #recommended
|
||||
nvm use #recommended
|
||||
yarn
|
||||
yarn prisma:reset
|
||||
@ -79,7 +80,8 @@ Twenty server will be running at [http://localhost:3000](http://localhost:3000).
|
||||
**Note:** similarly, we recommend that you use `nvm` to install the right node version.
|
||||
|
||||
```
|
||||
cd front
|
||||
cd ../front
|
||||
nvm install #recommended
|
||||
nvm use #recommended
|
||||
yarn
|
||||
yarn start
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
DEBUG_MODE=false
|
||||
DEMO_MODE=true
|
||||
ACCESS_TOKEN_SECRET=secret_jwt
|
||||
ACCESS_TOKEN_EXPIRES_IN=5m
|
||||
ACCESS_TOKEN_EXPIRES_IN=30m
|
||||
LOGIN_TOKEN_SECRET=secret_login_token
|
||||
LOGIN_TOKEN_EXPIRES_IN=15m
|
||||
REFRESH_TOKEN_SECRET=secret_refresh_token
|
||||
@ -9,3 +10,4 @@ PG_DATABASE_URL=postgres://postgres:postgrespassword@localhost:5432/default?conn
|
||||
FRONT_AUTH_CALLBACK_URL=http://localhost:3001/auth/callback
|
||||
STORAGE_TYPE=local
|
||||
STORAGE_LOCAL_PATH=.local-storage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user