2015 / 2016
Run composer install
in the project folder. See magic.
In case you don't have composer installed, you really really should. You can get it here.
Run vendor/bin/homestead make
. You should now have a Homestead.yaml
file in the project directory. Configure to your liking.
To deploy, push / merge to master branch. Codeship (CI) set up to automatically commit changes to Heroku on passing build.
Form helpers for blade are installed. Docs
To compile sass / es6 / and other useful things, run npm install
in the base directory. This will install gulp and other dependencies that help with development. If you don't have npm, you can get it here.
To view or add gulp tasks, see the gulpfile.js
for reference.
Gulp tasks:
For acceptance testing. Run vendor/bin/behat
to run acceptance tests (if they exist).
Unit tests. Run vendor/bin/phpspec run
to run spec (if it exists). To run continuous tests, use the gulp task gulp spec
.