EDHTop16 is open-source and welcoming to new contributions! Please see our issues tab for work we need help with! The application is written using Next.js, and Relay. The following dependencies are required for local development:
- Node.js
First install local dependencies with:
npm install
then run the following to start the application:
npm run dev
Docker is used to run EDHTop16 is production, and we recommend testing with it locally before submitting a PR. To get this working, install Docker Desktop on your system.
To build:
docker build -f Dockerfile -t edhtop16 --build-arg "ENTRIES_DB_URL=<mongo db url>" .
To run:
docker run -p 8000:8000 --env 'ENTRIES_DB_URL=<mongo db url>' --env 'TOPDECK_GG_API_KEY=<your topdeck api key> --rm edhtop16
To test visit http://localhost:8000
Made possible by @znayer and the TopDeck.gg Team