Skip to content

Solidie/redeem-code

Repository files navigation

Redeem Code

Product unlock by applying redeem code

Production Deployment

Download production build from WordPress Plugin Directory.

Development environment setup

  • Open terminal at ~/wp-content/plugins/ directory
  • Run git clone https://github.com/Solidie/redeem-code.git
  • Run cd redeem-code
  • Run npm install
  • Run npm run build to compile scirpts in production mode and create releasable zip file.
  • Or, Run npm run watch if you'd like the codes to be compiled in development mode and need continuous compilation on code changes.

If it is cloned already

  • open terminal at ~wp-content/plugins/redeem-code/
  • run git pull
  • and then npm run build or npm run watch

Whenever you pull updates to local repository, don't forget to run npm install and npm run build or watch again.