Takana Example Project
This is a basic example project which will help you get up and running with takana in no time. There are two ways you can run takana: (1) using gulp and (2) using the takana command line interface.
Requirements
- Mac OSX or Linux (Windows support coming soon)
- node.js
- Sublime Text 2 or 3
Usage with Gulp
The project includes a simple gulpfile which allows you to run takana and compile the sass source files.
1. Clone the project locally
$ git clone git@github.com:mechio/takana-example.git && cd takana-example
2. Install gulp globally
$ npm install -g gulp
3. Install the package dependencies
$ npm install
4. Run takana
$ gulp takana
5. You're all set
Open index.html
in your browser and style.scss
in Sublime, you'll see the
Usage with the takana CLI
Follow the steps 1 to 3 above, then use the following instead of gulp takana
to run takana via the cli:
$ npm install -g takana # install takana globally
$ takana . # run takana from the current working directory