Skeleton version of framework.
- Place contents in your document root. Alternatively, you can place just the contents of
public
in your document root, and update therequire
path inindex.php
to point to wherever yourapp
directory resides. Or configure a virtualhost to point directly topublic
. Whatever you want to do. - Run
composer install
in yourapp
directory. If you don't have composer, get it. - Take'r for a spin.
We use Node.js and Gulp to do site build tasks, such as asset minification, concatenation, critical CSS, updating paths in CSS, etc.
To be able to perform build tasks, you need to install Node and Gulp globally. Do this in your local development environment - you won't actually be running Node on your live server.
In the build
directory, use npm install
to install all the required node modules, as defined in the included package.json
. package.json
is Node's version of composer.json
.
You should then be able to run gulp build
to build your site and prepare for deployment.
To easily switch between raw and built assets, change or override the value of use_raw_assets
in your app/config/default.php
file. Later, we can replace this with an environment variable.