Development requires the installation of https://www.npmjs.com/. To set up your development evironment from scratch, first install NPM, then from the root of the application:
npm install
box install
Then change directory to the test-harness
directory and re-run box install
to seed the coldbox application. Once dependencies are installed and assets are compiled ( see below ), you can start the following servers from within the test-harness
directory to browse the application:
box server start [email protected]
box server start [email protected]
box server start [email protected]
To compile the packed assets you can use the following webpack commands:
npm run dev
- compiles development assetsnpm run watch
- compiles development assets and watches for changesnpm run prod
- compiles production minified and packed production assets
/resources/assets/js
: Development Javascript files. Will be compiled by webpack in to theincludes/js/app.js
andincludes/js/vendor.js
files/resources/assets/js/components
: Development VueJS components. Will be compiled by webpack to theincludes/js/app.js
file/resources/assets/sass
: Development SCSS files. Will be compiled by webpack to theincludes/css/app.css
file