Git Product home page Git Product logo

affiliate's Introduction

Affiliate

Development guide

Branches

There are two main branches:

  • development: Every development work should be done here first
  • master: Whenever a new version is ready, merge development branch into this one and push

Development workflow

Affiliate contains a few automated tasks that helps the developer to make faster and less buggy releases.

Requirements:

  1. Install nodejs: [https://github.com/joyent/node/wiki/installing-node.js-via-package-manager]
  2. Install Grunt globally sudo npm install -g grunt
  3. Execute git submodule update --init --recursive to download every submodule

Dependencies installation

Affiliate requires a few node dependencies for development. Use npm install to install all of them.

Releasing versions

  1. Make sure that the version in affiliate.php matches with the version in package.json, otherwise the build will fail.
  2. Update all Git submodules with git submodule update --remote
  3. Now execute npm run build. A new folder called build will be created where you can grab the zip file for the new version.
  4. Language files, JS Lint and text domains verification are done during the execution of this script so developer doesn't need to worry about these tasks.

Don't forget to create a new tag in Git!

affiliate's People

Contributors

panoslyrakis avatar joel-james avatar stracker-phil avatar vodanh1213 avatar actual-saurabh avatar vaughanm avatar itsariful avatar rheinardkorf avatar ioannup avatar bappi-d-great avatar

Watchers

James Cloos avatar Valen Digital 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.