rtman / wavy

1 stars 0 forks source link

lerna

Wavy

Wavy is a monorepo that is managed using lerna, in order to run it you have to have lerna, docker desktop, node and npm/yarn installed.

Running

  1. Clone the repo
  2. Acquire the .env-cmdrc.json from the project owner and place in the root dir.
  3. Run lerna bootstrap in the root dir
  4. Start docker desktop and run yarn compose:dev:local from root. This will spin up the backend (localhost:3001/graphql) and the frontend (localhost:3000),

Troubleshooting

If you have issues with docker, it can be necessary to rebuild the docker images. Run docker-compose down and docker-compose build to re build the images, docker-compose up to restart the containers. If that doesnt work run docker system prune --volumes to completely wipe all docker cached images/volumes and then run docker-compose up. Shoudl fix it.