Update the readme
This commit is contained in:
17
README.md
17
README.md
@@ -27,17 +27,16 @@ Install dependencies
|
|||||||
yarn install
|
yarn install
|
||||||
```
|
```
|
||||||
|
|
||||||
Initialise the db
|
Setting up the db, you'll need to have a postgres installed locally, you can [follow this guide](https://redwoodjs.com/docs/local-postgres-setup) with a couple of exceptions:
|
||||||
``` terminal
|
- Run `yarn rw prisma migrate dev` instead of `yarn rw db up` in the guide.
|
||||||
yarn rw db up
|
- Don't worry about changing the `schema.prisma` file.
|
||||||
yarn rw db seed
|
- You will need to add a `DATABASE_URL` and test url to you `.env` file at the root of the project.
|
||||||
```
|
|
||||||
|
|
||||||
Move some files to the public directory
|
Run the following
|
||||||
|
``` terminal
|
||||||
|
yarn rw prisma migrate dev
|
||||||
|
yarn rw prisma db seed
|
||||||
```
|
```
|
||||||
yarn move-cad-worker
|
|
||||||
```
|
|
||||||
The above step should be repeated whenever you modify anything in the git submodule `web/src/cascade/*`
|
|
||||||
|
|
||||||
### Fire up dev
|
### Fire up dev
|
||||||
```terminal
|
```terminal
|
||||||
|
|||||||
Reference in New Issue
Block a user