Add documentation for how to develop with the example project
cowboy opened this issue · comments
This should be added to the main project README, probably at the bottom.
This assumes that the general workflow dependencies (Ansible, VirtualBox, Vagrant) as well as this project's specific dependencies (Node.js, npm) have been installed.
There are 2 ways to develop the example project.
Using vagrant:
vagrant up
npm install
npm install -g grunt
grunt
- Check the main page: http://deployment-workflow.loc/
- Check the 404 page: http://deployment-workflow.loc/whoops
- Edit files locally, pages should auto-reload
- Repeat steps 5-7
And not using vagrant (this is typically much faster):
npm install
npm install -g grunt
grunt
- Check the main page:
open public/index.html
- Check the 404 page:
open public/404.html
- Edit files locally, pages should auto-reload
- Repeat steps 4-6