Moved EditorMenu/helpers.ts file to src/helpers. Reused STL download helper on a new button in the project profile page

This commit is contained in:
Scott Martin
2021-12-28 19:01:00 -05:00
parent cd3060b3c7
commit 8a85ad467f
6 changed files with 41 additions and 3 deletions

View File

@@ -32,9 +32,9 @@ Install dependencies
yarn install
```
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).
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).
Run the following
Run the following (Note: these commands require the `DATABASE_URL` env variable to be set. if you see no result when you run `echo $DATABASE_URL`, you can set it with a command like `export DATABASE_URL=postgres://postgres:somepassword@localhost`)
``` terminal
yarn rw prisma migrate dev
yarn rw prisma db seed