You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Development
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.
Deployment
Run npm run deploy:staging or npm run deploy:production. Only files in the /public folder will be pushed to the server.
Notes
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 for title, description, and image before requiring /public/partials/header.php. See index.php for an example. Default meta is taken from /public/content/global.yaml
About
get static sites up fast w/ webpack, stylus, vue, coffescript, yaml