Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
anmho authored Feb 7, 2024
1 parent bbff2d7 commit 18a24fa
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,22 @@ A summary of the libraries we use are listed below.
1. Clone the ZotMeal repository or your fork.
`git clone https://github.com/icssc/ZotMeal.git`

2. Navigate to the root directory and install the dependencies.
2. Change your node version to the one specified in .nvmrc
`nvm use`
3. Navigate to the root directory and install the dependencies.
`cd ZotMeal && pnpm install`
4. Create a .env based on the .env.example
5. To start a local Postgres container database run the `start-database.sh` script. This will automatically set a test database.
6. Run `turbo db:generate`

3. Start the local development servers for expo and server.
7. Start the local development servers for expo and server.
`pnpm dev`
The tRPC procedures are available on http://localhost:3000/<router.procedure\>?input={field: value}

4. Change your node version to the one specified in .nvmrc
`nvm use`

5. View the local website at http://localhost:19006 and/or with the [Expo Go mobile app](https://expo.dev/client).
8. View the local website at http://localhost:19006 and/or with the [Expo Go mobile app](https://expo.dev/client).
As you make changes to the Expo application, those changes will be automatically
reflected on the local website as well as the mobile app.
6. To add a new package run `turbo gen workspace` and follow the prompts
9. To add a new package run `turbo gen workspace` and follow the prompts

## Testing
Run `turbo test` at the root of the project.

0 comments on commit 18a24fa

Please sign in to comment.