Before start you have to install Node JS and gulp-cli
- Clone the repository:
git clone https://github.com/OmelDM/wedlp.git
- Install required node modules:
npm install
buildcompiles sources, copies images, fonts, etc. tobuilddirectory
gulp build
releasecompiles minified sources, copies images, fonts, etc. tobuilddirectory
gulp release
defaultrunsbuildtask and starts watcher and local server
gulp default
deployrunsreleasetask and pushesbuilddirectory's content togh-pagesbranch
gulp deploy
Data that could be changed is separated from templates sources to data directory.
By default, all gulp tasks used test data from data/test directory.
To use custom data, add --data=[name_of_directory_with_data] parameter to gulp command.
E.g.:
gulp build --data=my_custom_data