Alla är för yttrandefrihet, så länge de själva gillar det som yttras.
Alla är för yttrandefrihet, så länge de själva gillar det som yttras.
Alice Teodorescu — Sommar och Vinter i P1 — Overcast.
I just launched iTunes on my new computer and OH MY GOD, I’ve purchased a lot of songs in iTunes Music Store!
Some interesting ideas on by Dave Winer. – Podcast: Hulu for news.
Allt var inte bättre förr. – Johan Norberg: Nej, vädret var inte bättre förr! – Krönikörer – Godmorgon, världen!
A much better and less chatty take on the problem than what I wrote yesterday. – Installing River4 on Ubuntu.http://river4.smallpict.com/2015/08/04/installingRiver4OnUbuntu.html
Hackaton i Falun! – Öppet hackathon 15 augusti | Daladevelop.
Just a quick note before I head to bed. In a comment to a post I linked to earlier Andy Sylvester points out that WordPress’ ”Link Manager” (aka ”blogroll”) could be used to generate an OPML file.
Per this WordPress support page, you can type in a URL like the following and see the blogroll or links of a WordPress weblog in OPML format:
http://www.hyperorg.com/blogger/wp-links-opml.php
http://andysylvester.com/wp-links-opml.php
To me this seems like a more or less forgotten and highly downplayed feature of WordPress that could be really, really powerful.
I’ll get back to this subject eventually.
I just installed River4 on a headless Ubuntu server. Unfortunately it was not as straight forward as it was installing it on my Mac.
If you’re trying to install River4 on Ubuntu, please read this whole article. Don’t do things as you read. Reading it in its entirety will likely spare you some headaches.
Dave Winer, the creator of River4, has an easy to follow guide on how to install River4 on a Mac. To install it on Ubuntu you need to be able to wing it a bit.
The first order of business for me was to install Node.js. I tried to do that simply by running
|
1 2 |
sudo apt-get install node |
It seems to work fine so I uploaded the River4 files via my FTP-client of choise. I then navigated to the River4 folder and tried running
|
1 2 |
npm install |
And hit a big snag. It turns out installing Node via apt-get does not install NPM. So I tried
|
1 2 |
sudo apt-get install npm |
Okay, NPM got installed and I tried npm install once again. Still no luck. NPM itself ran but couldn’t download the specified packages.
After doing a bit of searching I found a Stack Overflow post that instructed me to change the way NPM got its data. I managed to do that and it seemed like the install process got further but it still ended up failing, now with and error message telling me my version of Node was too old for River4.
WTF?!? I just installed it. How can it be too old?
Well, after som more searching I found an article titled Node.js v0.12, io.js, and the NodeSource Linux Repositories. I did not read every word of it but the gist of it is that the latest versions of Node is not accessible via apt-get(!). Instead the article gives us the following command-line instructions to run:
# Note the new setup script name for Node.js v0.12
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
# Then install with:
sudo apt-get install -y nodejs
I’m sure someone smarter than me will know the exact details of what this does. To me it was enough to know that it would allow me to install version 0.12 of Node. So I ran it and then tried to install the River4 dependencies again. Once again it didn’t work.
Out of frustration I removed the entire River4-folder from the machine, re-uploaded it via FTP and tried NPM again. This time it worked and the app could be launched with node river4.js.
When I logged out of the server it stopped working so I learned the hard way that I needed to launch it using nohup node river4.js > /dev/null 2>&1 &. This way it’ll continue running in the background indefinitely.
This is an attempt of telling you how to go about installing River4 on Ubuntu. I leave absolutely no guarantees. It might not work. It might blow up your server. It might make you sad.
# Note the new setup script name for Node.js v0.12
> curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
> # Then install with:
> sudo apt-get install -y nodejssudo apt-get install npm.npm install in the River4 folder.nohup node river4.js > /dev/null 2>&1 &.If NPM gives you problems in step 4, try changing where it gets its data:
|
1 2 |
npm config set registry http://registry.npmjs.org/ |
@davewiner I joined a few days ago. :) Thanks for posting the link!
@synvila — I posted a link to your piece to the River4 list. You should probably join the list if you plan to keep using River4.
How to install River4 on a system running Node.js.https://www.youtube.com/watch?v=2wIs2gkFmWk
Replies and comments
Henrik
13 juli, 2016 18:00Henrik mentioned this on blog.henrikcarlsson.se.