Modify README
This commit is contained in:
parent
21638570eb
commit
7810e8808d
10
README.md
10
README.md
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue