Skip to content

Commit

Permalink
added helper commands to readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
anishsapkota authored Jan 8, 2025
1 parent 1cb045f commit efc0742
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ When you have started the development code of the Management System, the first i

Both users actually have the same privileges by default, but the first one logging in can see the _System Dashboard_ and becomes the _System Admin_.

**Local Development with DB : Helper commands** \
`yarn dev-ms-db` : starts the docker container and setups the default db \
`yarn dev-ms-db-create`: create a new branch specific database \
`yarn dev-ms-db-use <branch | default>`: switch between dbs, also creates a branch db if not created already \
`yarn dev-ms-db-delete <--all | --branch <branch-name> >` : delete db \
`yarn dev-ms-db-migrate`: create new prisma migration based on changes made to `schema.prisma` file \
`yarn dev-ms-db-deploy` : deploys the migrations to db

# Contributions

If you are interested in developing PROCEED further, we are very open for help and project contributions. Regularly there are on-boarding development workshops and, if you are interested, we have weekly video calls with all developers.
Expand Down

0 comments on commit efc0742

Please sign in to comment.