Anzeige

Build your website with awestruct and publish it on the cloud with git

Senior Software Engineer at Red Hat um Red Hat
23. Jan 2013
Anzeige

Más contenido relacionado

Anzeige

Build your website with awestruct and publish it on the cloud with git

  1. Build your Website with Awestruct and Publish it on the Cloud with Git Xavier Coulon, Red Hat  @xcoulon
  2. F*ck CMS Do you need a CMS to run your website ? (hint: no) Push files to a Web Server setup mod_php CMS security patches Database admin/backups Data migration hell
  3. Part I. Let's Have Fun Again at Baking Websites
  4. Content First ! Write your Articles in Markdown, Textile or AsciiDoc
  5. Layout with HAML
  6. Comparing HAML with HTML HTML <i> dv <togHlo Wrd<srn> srn>el, ol!/tog <dv /i> HAML %i dv %togHlo Wrd srn el, ol!
  7. Comparing HAML with HTML HTML <i i=wapr cas"o" dv d"rpe" ls=bx> <togi=msae cas"oe>el,Wrd<srn> srn d"esg" ls=cd"Hlo ol!/tog <dv /i> HAML %i{i = "rpe" :ls = "o" dv:d > wapr, cas > bx} %tog:d= "esg" :ls = "oe}Hlo Wrd srn{i > msae, cas > cd" el, ol! #rpe.o waprbx %togmsaecd Hlo Wrd srn#esg.oe el, ol!
  8. Make it Sexy with CSS, SASS or LESS
  9. Dynamise with JavaScript or CoffeeScript
  10. Deploy on a Web Server with Git It's just (text) files !
  11. It's a Developer's Workflow ! (think about it) A developer codes and tests, then pushes to a remote git repo to share An author writes and reviews, then pushes to a remote git repo to publish and both can even have CI and Staging sites !
  12. Part II. Let's Bake our Website with Awestruct !
  13. Getting Started gmisalaetut e ntl wsrc mdrcayaeoepoetst ki rz-wsm-rjc-ie aetut-ii -faeokbosrpbupit90 wsrc -nt -rmwr otta|lern|6 aetut- wsrc d
  14. Awestruct Project Structure  _config  site.yml  _ext  pipeline.rb  _layout  base.html.haml  _site  news  2013-01-19-some-article.md  index.html.haml
  15. Properties/Metadata YAML Engine context (_config/*.yml) Page context (front-matter) Available within the pages and the extensions.
  16. Managing Profiles _site/config.yml specific "profiles" entry .. . poie: rfls dvlpet eeomn: bs_r:ht:/oahs:22 aeul tp/lclot44 dsu:sprcaypoetdv iqs ue-rz-rjc-e dsu_eeoe:tu iqsdvlpr re pouto: rdcin bs_r:ht:/cuo.ihbcmsml-wsrc-ie aeul tp/xolngtu.o/apeaetutst dpo: ely hs:gtu_ae ot ihbpgs dsu:sprcaypoet iqs ue-rz-rjc gol_nltc:U-24681 ogeaayis A1357-
  17. Awestruct Built-in Extensions and Helpers Indexifier Posts Tagger Atomizer Paginator Disqus Google Analytics and more...
  18. Site Deployment
  19. GitHub Pages  _config/site.yml .. . poie: rfls .. . pouto: rdcin bs_r:ht:/cuo.ihbcmsml-wsrc-ie aeul tp/xolngtu.o/apeaetutst .. . dpo: ely hs:gtu_ae ot ihbpgs gtcmi i omt aetut- pouto -fre wsrc P rdcin -oc aetut- pouto -dpo wsrc P rdcin -ely
  20. OpenShift
  21. Demo
  22. fork the demo:  github.com/xcoulon/sample-awestruct-site
  23. BTW, this prezo was also baked with Awestruct ;-)
  24. awestruct.org  #awestruct  @awestruct
  25. Thanks !
  26. Q/A
Anzeige