bborn / opensauna

Sauna - a social news reader and curation tool
http://bborn.github.io/opensauna/
MIT License
52 stars 8 forks source link

You asked about install issues... #1

Closed ishiel closed 10 years ago

ishiel commented 11 years ago

Hello,

You've asked for any install problems so I thought I'd document the process I went through installing Sauna on a clean install of Ubuntu Server 12.04.2. I wasn't sure where else to post this so I've put it here.

As will become obvious I have absolutely no clue what I'm doing but it might be useful.

Installing Mongo DB

Installing Redis

Install Ruby and Rails

Installing Sauna

At this point I had problems with running "bundle install". The fix was to open Gemfile, and then replace git: with https: in all the paths.

At this point I then had a problem with the dependency 'curb'. I ran the following:

Then I had a problem with dependency 'pg'. So:

Then it was sqlite. So:

Then it worked! Now I needed to run 'rake secret' to get a secret for the config but this failed so:

Now:

This didn't work because mongo complained about a missing db path so:

Getting the above command to run is a bit of a pain because because it'll fail if the MongoDB or Redis servers are already running. The following commands are useful:

So now I've gone to the webapp on port 5000 and set up an account, I now need to set that account to admin

Now open browser and go to /admin or /sidekiq

bborn commented 11 years ago

Thanks! This is really helpful. To be honest I figured most people would be deploying to Heroku, so it's nice to have someone try it on their own server.

Were you able to get things up and running? Workers running ok for you?

ishiel commented 11 years ago

I was tempted to try Heroku for this but then decided to take the more challenging route!

Initially it looked good but now you mention workers I see that the RSS feeds aren't getting polled after being added for the first time. I've had a look in /sidekiq and no workers are listed and there are no scheduled items which seems wrong.

I'll play with it a bit more and see if I can work this out.