Lineman on Heroku without buildpack

I have just deployed a lineman app without heroku buildpack. Maybe someone will find this handy. I have added Procfile with following content:

  web: lineman run

Next you have to add port setting into server configuration (config/application.js):

  server: {
    web: {
      port: process.env.PORT || 8000;
    }
  }

NOTE: feb.2016: setting env. var WEB_PORT solves the problem.

And finally you have change package.json - move lineman* from devDependencies to dependencies.

herokulinemannode.js
Netlify CMS ~ May 18 cms,github

I have discovered Netlify CMS, great CMS application for statically generated webs. It’s build with react and redux (pitty, I prefer MobX, but :), is modularized, already has build in support for github-pages based web and most important is fact that it can be compiled and the resulting files can put next to your pages and be served as another page of your web.

Samba with SQL backend ~ Feb 06 samba,sql

After long period I have finished another version of eduit project. It uses SQL database as user storage because I believe that LDAP is pain in .. Server uses libnssmysql for user SAM, but samba has its own user backend, FUUU!

Tus.IO resumable file uploads with angular ~ Jan 11 node,angular

Last week I had a special task. I had to implement file uploading. Well, you might say, what is so special about that? So, I has to be able to upload huge files (GBs) in reliable and background manner. I use angular.js for the client side so I searched for a solution that has no dependency (like JQuery).

Migration of postgres 8.4 to 9.1 ~ Nov 04 postgresstips

Yesterday I have upgraded postgress server packages on my server. It has not started anymore so I have begun searching why. The log told me that I use data created for old version of postgress. So the migration journey begun.