Simon Griffee

Dillinger Markdown Editor

17 July 2014 · 1 minute read

Dillinger is yet another free, open source option for text editing happiness. This one’s good. Uses Marked which makes it fast. And even has support for Markdown tables syntax!

I have it running at write.hypertexthero.com after doing the following:

  1. Install Node.
  2. Setup a website, domain and application.
  3. Install Dillinger from the GitHub repository
  4. Install forever so it keeps running.
  5. Edit ~/home/<myusername>/webapps/write/dillinger/app.js and make sure my assigned port number from step 2 above is entered in the following line:

    app.set('port', process.env.PORT || #####); //  port assigned by webfaction app
    
  6. Started the application with:

    forever start -a /home/hth/webapps/write/dillinger/app.js 
    

It should ideally be:

forever start -a -l forever.log -o /home/hth/logs/user/out.log -e /home/hth/logs/user/logs/err.log --minUptime=5000 --spinSleepTime=2000 /home/hth/webapps/write/dillinger/app.js 

…but this fails for some reason — looking into it.

What

Share