- Sass tooling
- Js tooling
- Post-HTML & Post-CSS
- Image minification
- Init scripts to tie in prompt to configation file ... .env maybe?
- Write deploy scripts
- Add url to dns on start from prompt
A baseline project for CraftCMS for local, staging, and production environments using Nanobox.io
This workflow depends on:
- Prepare the servers for the project by logging in to nanobox.io and spinning 2 new projects:
project-name
andproject-name-staging
. Back both of these with a 5 dollar Digital Ocean droplet unless something heavier is called for. - Note the application details for the next step.
- Clone this repo into a directory for the new project.
$ git remote remove origin
$ git remote add origin <new-upstream>
- Run the init script;
$ npm run init
- Walk through the CLI to configure the project.
- Commit and push the changes. You're ready to go!
- Clone the repo and cd into the project directory.
$ npm install
$ npm start
Note: this process will be replaced with a git-based Continuous Integration / Delivery system that deploys code automatically from the upstream branch.
$ npm run deploy:staging
$ npm run deploy:production