Bower and Gulp are not required to use this CMS! Anyways, if you want to make a new build you'll need both of them.
To get started you'll need npm. Installer packages can be found here.
In order to keep all the frontend dependencies up to date we're utilizing bower.
If you have trouble using bower you can find help on their website.
cd $development/larapress
sudo npm install -g bower
bower installMake sure you bower install before running gulp tasks because they will use the frontend dependencies!
We're using gulp.js for running build tasks.
If you have trouble using gulp you can find help on their website.
There are several commands you can currently run from the command line:
gulpgulp watchgulp lessgulp less-per-pagegulp jsgulp js-per-pagegulp fallbackgulp fontsgulp phpunit
Simply running
gulpwill run all the other tasks exceptgulp watchin a row.
Usegulp watchto make gulp.js watch your filesystem for changes and run the related task.
cd $development/larapress
sudo npm install -g gulp
npm install
gulpLarapress comes with a gulp task for the PHPUnit tests to make things easier.
Simply run gulp phpunit to run the tests. If you just use gulp it will also run the phpunit tests.
Be aware that gulp watch wont run phpunit tests!