Clone this repo:
git clone https://github.com/opensource-challenge/development.git
cd developmentClone the API and the client inside this repo:
git clone https://github.com/opensource-challenge/opensource-challenge-api.git api
git clone https://github.com/opensource-challenge/opensource-challenge-client.git clientStart the project:
docker-compose up- In the client, to fix an error concerning
fetchnot being found, install"whatwg-fetch": "3.3.1"as an additional dependency. - In the client, add the backend location in config/environment.js under ENV.APP.host = 'http://localhost:4000'
- In the API, in config/dev.exs, add
hostname: "db"to the database configuration