WordPress plugin to provide live demo feature.
Download production build from WordPress Plugin Directory.
- Open terminal at ~/wp-content/plugins/ directory
- Run git clone https://github.com/Solidie/live-demo-sandbox.git
- Run cd live-demo-sandbox
- 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/live-demo-sandbox/
- 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.