Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Latest commit

 

History

History
23 lines (19 loc) · 789 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 789 Bytes

Open Source Challenge Docker Setup

Clone this repo:

git clone https://github.com/opensource-challenge/development.git
cd development

Clone 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 client

Start the project:

docker-compose up

Caveats (TODO fix these)

  • In the client, to fix an error concerning fetch not 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