Custom Yo generator.
-
Install NodeJS. If you have Homebrew installed, this can be done by executing:
brew install node -
Install Yo using npm:
npm install -g yo -
Clone this repo and
cdinto into it:git clone [email protected]:bedrich/generator-voytek.git && cd $_ -
Install dependencies:
npm install -
Link generator:
npm link
-
Create a new directory to host your app
mkdir myapp && cd $_ -
Generate files by running:
yo voytek -
Follow the instructions on the prompt.
-
After all dependencies have been installed, run the server:
grunt server
The server is setup with livereload and should be accesibble at http://localhost:8000. SCSS files will be compiled automatically while the prompt running grunt server is open. In addition, all JS files inside the js directory will be linted on save.