mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 22:53:25 +00:00
chore: switch to pnpm
This commit is contained in:
10
README.md
10
README.md
@@ -19,13 +19,13 @@ cp example.env .env
|
||||
make dev
|
||||
```
|
||||
|
||||
### NPM
|
||||
### PNPM
|
||||
|
||||
```shell
|
||||
# reset database and (force) apply all migrations
|
||||
node ace migration:fresh
|
||||
# start dev server
|
||||
npm run dev
|
||||
pnpm run dev
|
||||
```
|
||||
|
||||
## Start as prod
|
||||
@@ -36,17 +36,17 @@ npm run dev
|
||||
make prod
|
||||
```
|
||||
|
||||
### NPM
|
||||
### PNPM
|
||||
|
||||
```shell
|
||||
# create production build
|
||||
npm run build
|
||||
pnpm run build
|
||||
# go to the build folder
|
||||
cd build
|
||||
# clone your .env
|
||||
cp ../.env .
|
||||
# then start the production build
|
||||
npm run start
|
||||
pnpm run start
|
||||
```
|
||||
|
||||
## Generate app_key
|
||||
|
||||
Reference in New Issue
Block a user