chore: rename

This commit is contained in:
DIYgod 2022-06-21 20:40:55 +01:00
parent 26a93cf45b
commit a413606af8
No known key found for this signature in database
GPG Key ID: D159328F47A80DCA
2 changed files with 13 additions and 2 deletions

View File

@ -3,11 +3,11 @@
#### And inline by Next.js during docker build
#############################################################
NEXT_PUBLIC_APP_NAME=Proselog
NEXT_PUBLIC_APP_NAME=Crosslog
NEXT_PUBLIC_OUR_DOMAIN=localhost:3000
NEXT_PUBLIC_R2_URL=https://r2.egoist.workers.dev
NEXT_PUBLIC_DISCORD_LINK="https://discord.gg/ucBPN7brXf"
NEXT_PUBLIC_GITHUB_LINK="https://github.com/proselog/proselog"
NEXT_PUBLIC_GITHUB_LINK="https://github.com/Crossbell-Box/Crosslog"
#############################################################
#### Followings are runtime secrets set via Fly CLI

View File

@ -4,6 +4,17 @@ Follow the steps to run it locally.
1. Copy `.env.example` to `.env`
2. Run `postgres` locally, the easiest way on mac is `brew install postgresql`, you can also use docker
```bash
docker run -d \
--name mypostgres \
-e POSTGRES_PASSWORD=pass \
-e PGDATA=/var/lib/postgresql/data/pgdata \
-v mypostgres_data:/var/lib/postgresql/data \
-p 5432:5432 \
postgres
```
3. Install dependencies: `pnpm i`
4. Initialize the database by running `pnpm prisma db push`
5. Start dev server: `pnpm dev`