Modify README

This commit is contained in:
Joonas 2023-11-22 08:32:39 +02:00
parent 21638570eb
commit 7810e8808d
1 changed files with 8 additions and 2 deletions

View File

@ -1,11 +1,17 @@
# Twitter Clone
A literal Twitter Clone. It is made with Remix, Prisma and Tailwind CSS.
## Running for dev or prod
Clone the repo, install dependencies, put secrets in .env, run the migration and start.
```
git clone https://git.disroot.org/qwertyasdfgh/twitter-clone
pnpm install
pnpm prisma migrate deploy/dev
cp .env.example .env // edit the file!!!
pnpm start/dev
pnpm prisma migrate deploy/dev // deploy if prod, dev if dev
pnpm prisma generate
pnpm build // if prod
pnpm start/dev // start if prod, dev if dev
```