- Webpack builds and hot module reloading
- SASS or Stylus loading
- Coffee or JS loading
- Classic PHP for rendering
- YAML files for pseudo-DB content
- Boilerplate to get running quick
- Run
npm install
- Run
composer install
- Rename
example.env
as.env
(this will not be committed to the repo) - Edit the server details in
.env
- If you haven't, run
brew install ssh-copy-id
- If you haven't, copy your key to your remote servers using
ssh-copy-id user@serverip
- Set up a vhost of
yoursitename.dev
in MAMP pointed to the/public
folder - Run
npm run watch
to kick off the hot module reload - Go to
yoursitename.dev
- Get to work.
- Run
npm run deploy:staging
ornpm run deploy:production
. Only files in the/public
folder will be pushed to the server.
- All content is parsed form YAML files within
/public/content
and set globally at your whimsy in/public/partials/content.php
. - Meta can injected by setting a global variable
$meta
with keys fortitle
,description
, andimage
before requiring/public/partials/header.php
. Seeindex.php
for an example. Default meta is taken from/public/content/global.yaml