-
Install nodejs
-
Clone this repository to a central location (for example /appetizer)
-
Source the appetizer.sh in your bash shell:
. /appetizer/appetizer.sh
-
Open terminal
-
cd to your project directory
-
Create your project:
appetizer make
-
Start the development server:
appetizer start
-
Put your Less style in src/styles/index.less
-
Put your JavaScript in src/scripts/index.js
-
Visit http://localhost:8000.
-
That's all
-
Open terminal
-
cd to your project directory
-
Build it:
appetizer build
-
Your code is in the build folder (CSS, JavaScript is minified)
-
That's all
index.less and index.js are your entry files. For Less you can use @import statements to include other less files. For JavaScript you can use the CommonJS module format to 'require' other js files.
- Add unit test support using jsTestDriver before build
- Add locale options