15
Develop webapps with wonka.js

Wonka.js introduction

Embed Size (px)

DESCRIPTION

Learn a little bit about wonka.js webapps development.

Citation preview

Page 1: Wonka.js introduction

Develop webapps with wonka.js

Page 2: Wonka.js introduction

Install node.js

https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager

Page 3: Wonka.js introduction

Install git

http://git-scm.com/

Page 4: Wonka.js introduction

Install Wonka.js

Open your terminal and type:

$ sudo npm install -g wonkajs

Page 5: Wonka.js introduction

Create project

On your terminal type:

$ wonkajs project PROJECT_NAME

The folder content:

Page 6: Wonka.js introduction

Run server

On your terminal type:

$ wonkajs server 9300

Page 7: Wonka.js introduction

It’s alivehttp://localhost:9300

Page 8: Wonka.js introduction

Create appType on the terminal:

$ wonkajs app APP_NAME

The folder content:

Page 9: Wonka.js introduction

Test the app

Run the server if you stopped:

$ wonkajs server 9300

Page 10: Wonka.js introduction

Visit the app

http://localhost:9300/#APP_NAME

Page 11: Wonka.js introduction

Modify templateOpen root/templates/main.hbs

Page 12: Wonka.js introduction

Updatedhttp://localhost:9300

Page 13: Wonka.js introduction

Modify the styleOpen stylesheets/ui.less

Page 14: Wonka.js introduction

Updatedhttp://localhost:9300

Page 15: Wonka.js introduction

Thanks!

Twitter: @jcebBlog: jceb.info

For more information visit:http://wonkajs.com