Git Product home page Git Product logo

diffy's Introduction

Diffy - A tool for sharing diff output online Build Status

https://diffy.org

How to contribute

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:

  1. Install Node.js and NPM
  2. Install MongoDB and make it listen on localhost with default port
  3. Clone the repo: git clone https://github.com/pbu88/diffy.git
  4. Install and build frontend code (AngularJS app)
    • cd diffy/frontend
    • npm install
    • ng build
  5. Install and build backend code (Typescript)
    • cd diff/backend/
    • npm install
    • npm run build
    • npm test
  6. Run it: DIFFY_GA_ANALYTICS_KEY=none npm run v2_start

Docker

If you want to run Diffy using Docker, you don't need to follow any of the above manual steps:

  1. Install docker and docker-compose
  2. Run the tests: docker-compose run web npm test
  3. 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.

diffy's People

Contributors

pbu88 avatar jcurbelo avatar omederos avatar mlocati avatar pranay16 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.