a personal single page applicationwith cozy
Part Iunder the hood
technos involvedLanguage: coffeescript             Frontend: backbone, stylus, brunch           Backend: compound, jugglin...
prerequisiteNode.jsNpmVagrant 1.0.7Virtualbox
dev environment in a virtual machineTo set up a development you have to start the    official Cozy Cloud virtual machine, ...
required modules (all in the vm)CouchDb (Document Database)Whoosh Server (data indexer)Redis (Key Value Store)Cozy stack (...
cozy data systemProxy for persistence and indexationManages app permissionsPublishes changes through Redis
cozy controllerSpawn and stop appsBased on Haibu augmented with:      - App directory configurable- Brunch build after dep...
cozy home and proxyHome is the UI for the ControllerProxy manages authentication and routing
Part IItutorial
init dev environmentnpm install cozy -gcozy dev:initcozy dev:start
init your appcozy new my-app --github me
answer questionsCreate repo my-app for user me...Github password:Cozy Url:https://me.cozycloud.cc/Creating the project str...
Hack...# first terminal: build clientcd my-app/clientbrunch w# second terminal: run servercoffee server.coffee
then deploy!cozy deploy
Need assistance?      Well be glad to help:                            IRC: #cozycloud (freenode.net)      https://forum.c...
Part IIIdemo
a talk by...contact@cozycloud.cchttps://blog.cozycloud.cchttps://twitter.com/mycozycloudCrédits photos Flickr: alexbrn, td...
How to make a Personal Single Page Application with Cozy
Upcoming SlideShare
Loading in …5
×

How to make a Personal Single Page Application with Cozy

1,737 views

Published on

This is a small tutorial explaining how to develop your application for Cozy Cloud in a painless way.
https://cozycloud.cc


Talk performed @ LyonJS Meetup, April 2013

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,737
On SlideShare
0
From Embeds
0
Number of Embeds
825
Actions
Shares
0
Downloads
4
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

How to make a Personal Single Page Application with Cozy

  1. 1. a personal single page applicationwith cozy
  2. 2. Part Iunder the hood
  3. 3. technos involvedLanguage: coffeescript  Frontend: backbone, stylus, brunch  Backend: compound, jugglingdb  
  4. 4. prerequisiteNode.jsNpmVagrant 1.0.7Virtualbox
  5. 5. dev environment in a virtual machineTo set up a development you have to start the official Cozy Cloud virtual machine, a Vagrant box NB: Vagrant is a tool for developers to   simulate a production environment.
  6. 6. required modules (all in the vm)CouchDb (Document Database)Whoosh Server (data indexer)Redis (Key Value Store)Cozy stack (controller, data-system, home,proxy)
  7. 7. cozy data systemProxy for persistence and indexationManages app permissionsPublishes changes through Redis
  8. 8. cozy controllerSpawn and stop appsBased on Haibu augmented with:  - App directory configurable- Brunch build after deployment- Light update (git pull + npm install)- Later: python support  - Later: client only application support  
  9. 9. cozy home and proxyHome is the UI for the ControllerProxy manages authentication and routing
  10. 10. Part IItutorial
  11. 11. init dev environmentnpm install cozy -gcozy dev:initcozy dev:start
  12. 12. init your appcozy new my-app --github me
  13. 13. answer questionsCreate repo my-app for user me...Github password:Cozy Url:https://me.cozycloud.cc/Creating the project structure...Cloning into my-app...
  14. 14. Hack...# first terminal: build clientcd my-app/clientbrunch w# second terminal: run servercoffee server.coffee
  15. 15. then deploy!cozy deploy
  16. 16. Need assistance? Well be glad to help:  IRC: #cozycloud (freenode.net)   https://forum.cozycloud.cc contact@cozycloud.cc
  17. 17. Part IIIdemo
  18. 18. a talk by...contact@cozycloud.cchttps://blog.cozycloud.cchttps://twitter.com/mycozycloudCrédits photos Flickr: alexbrn, tdm911License Creative Commons by-3.0

×