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
build
compiles sources, copies images, fonts, etc. tobuild
directory
gulp build
release
compiles minified sources, copies images, fonts, etc. tobuild
directory
gulp release
default
runsbuild
task and starts watcher and local server
gulp default
deploy
runsrelease
task and pushesbuild
directory's content togh-pages
branch
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