Skip to main content

Ralsina.Me — Roberto Alsina's website

Nikola-as-a-service demo

One of the things I hacked at dur­ing this Py­Camp is try­ing to fig­ure out a nice work­flow for Niko­la, some­thing that will en­able users that are not so tech­ni­cal, to use it.

One first step is Niko­la-as-a-ser­vice, which is meant for tech­ni­cal users any­way but lays down the in­fra­struc­ture for this to work semi-nice­ly.

In the video be­low, you will see me do this:

  • Go to GitHub

  • Take a starter's blog I pro­vid­ed, and do a clone

  • Go to the niko­la-as-a-ser­vice site, and lo­­gin (via twit­ter)

  • Cre­ate a site us­ing my fork's re­po URL

  • Get a "we­b­hook" URL, and add it to my fork's ad­min as a post-­­com­mit hook

  • Ed­it a file in github's web UI and com­mit it (y­ou can of course just push from any github clien­t)

  • Au­­to­­mat­i­­cal­­ly, the site niko­la-as-a-ser­vice pub­­lish­es gets up­­­dat­ed.

Please don't try to use this ser­vice yet be­cause:

  1. It's run­n­ing in a $4.50/­­month serv­er

  2. It's the same serv­er my own blog us­es

  3. I will turn it of­f, delete ev­ery­thing, etc. ev­ery once in a while

  4. I am ed­it­ing the code on the server, so no guar­an­­tees it will not just stop work­ing.

So, here's the video:

marianoguerra / 2012-07-09 15:17:

muy bueno! dos cosas (que seguro ya arreglaste) 1) en un lugar dice "por ejemplo" en castellano 2) copiaste el webhook del link de un boton? :)

Roberto Alsina / 2012-07-09 15:20:

oops lo del por ejemplo, ahora lo reviso.

Lo otro, eso *parece* un botón pero es un link ;-)

Trevor Bekolay / 2012-07-09 15:35:

Very cool! I look forward to playing around with this!

Anon / 2012-07-09 19:47:

Great!

Kay Hayen / 2012-07-09 20:59:

So you have a business plan? :)

Roberto Alsina / 2012-07-10 09:59:

Well, "not spending too much money" is the business plan right now ;-)