Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.29 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.29 KB

Contributing

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:

  1. Node.js

Running in Development

First install local dependencies with:

npm install

then run the following to start the application:

npm run dev

Running using Docker

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

Special Thanks

Made possible by @znayer and the TopDeck.gg Team