From a413606af86cd0defe958dd632b0f1565f7aec38 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 21 Jun 2022 20:40:55 +0100 Subject: [PATCH] chore: rename --- .env.example | 4 ++-- README.md | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 75876d02..0369a293 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/README.md b/README.md index 2d17b4c8..7a9a9741 100644 --- a/README.md +++ b/README.md @@ -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`