This site profile is meant to be used with the ProcessWire CMS.
- Sass for stylesheets
- ES6 for JavaScript
- Webpack for compiling assets, optimizing images, and concatenating and minifying files
- Browsersync for synchronized browser testing
- Laravel's Blade as a templating engine
- ProcessWire >= 3.0.43
- PHP >= 5.6.4
- Node.js >= 6.9
- Yarn (like npm, but way faster)
-
Copy the
site-sage
directory into your ProcessWire installation -
Grab all the dependencies:
cd site-sage/templates # change to templates directory
yarn # get all dependencies. Doesn't work? Check the requirements ;)
-
Edit configuration in
site-sage/templates/assets/config.json
-
Is ProcessWire already installed?
NO:
- Install ProcessWire regulary and choose
site-sage
as your site profile
YES:
- Rename
site-sage
tosite
. You probably have to rename your old site directory - Go to your backend. Activate the
TemplateEngineBlade
module - Edit configuration in
site/config.php
- Remove directory
site/install
- [Optional] Put the changes from your old site profile to the new one
To execute all commands, first cd into site/templates
. From there you can run:
yarn start
WATCH for file changes and enable hotreloadingyarn build
Build all assetsyarn build:production
Build all assets for production