- NPM. Open project directory in terminal and run
npm installto install all grunt plugins. Seepackage.jsonfor details. - Run
bower installto download Bower components (and their dependencies) to/bower_components. Seebower.jsonfor details. - Run
grunt copyassetsto copy assets from/bower_componentsto the appropriate theme directory. SeeGruntfile.jsfor details.
- Run
gruntto compile your Sass and run the watch task. SeeGruntfile.jsfor details. - Run
grunt buildto output build files to/release. SeeGruntfile.jsfor details.
This project comes with a set of shell scripts to aid with deployment, markbaindesign/mbd-wp-deploy-scripts. These scripts can either be run manually, or via grunt tasks. For configuration instructions, see mbd-wp-deploy-scripts/scripts/README.md.
- Run
grunt importto run the import script and install the archive currently in/importto your local environment. - Run
grunt exportto run the export script which creates an archive of your local install in/export, ready to upload to your remote environment (staging/production).
Once you have run the import script, you need to change all the URLs in the database. I suggest using interconnectit/Search-Replace-DB.