Diffy is a Node.js application. Appart from Node.js, the only other thing you'll need is mongodb. To get you started these are the steps:
- Install Node.js and NPM
- Install MongoDB and make it listen on localhost with default port
- Clone the repo:
git clone https://github.com/pbu88/diffy.git
- Install dependencies:
npm install
- Build it:
npm run build
- Run the tests:
npm test
- Run it:
npm start
If you want to run Diffy using Docker, you don't need to follow any of the above manual steps:
- Install docker and docker-compose
- Run the tests:
docker-compose run web npm test
- Launch diffy:
docker-compose up
The mongodb data will be stored on the data/
folder.
That should get you with a basic working dev environment. Now, go ahead and fill your pull request :)
Also, feel free to create an issue if you find a bug or if something isn't working as expected when setting up the development environment.