From 8f2c2371fc6618185ddd56ac0e7f2452e2fb3893 Mon Sep 17 00:00:00 2001 From: Michael Stephenson Date: Mon, 3 Jun 2013 17:12:52 +0100 Subject: [PATCH] Corrected CentOS depencencies, Added libreadline as a dependency as Stringer will no longer run without it. --- VPS.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/VPS.md b/VPS.md index e336697ab..dea05a189 100644 --- a/VPS.md +++ b/VPS.md @@ -5,11 +5,15 @@ The first step is installing some essential dependencies from your VPS's package #### Ubuntu/Debian - sudo apt-get install git libxml2-dev libxslt-dev libcurl4-openssl-dev libpq-dev libsqlite3-dev build-essential postgresql screen + sudo apt-get install git libxml2-dev libxslt-dev libcurl4-openssl-dev libpq-dev libsqlite3-dev build-essential postgresql libreadline-dev #### CentOS/Fedora - sudo yum install git libxml2-devel libxslt-devel libcurl4-devel libpq-devel libsqlite3-devel make automake gcc gcc-c++ postgresql screen + sudo yum install git libxml2-devel libxslt-devel curl-devel postgresql-devel sqlite-devel make automake gcc gcc-c++ postgresql-server readline-devel openssl-devel + +On CentOS after installing Postgres, I needed to run these commands, Fedora likely the same. + + service postgresql initdb && service postgresql start Set up the database =================== @@ -78,7 +82,7 @@ Tell stringer to run the database in production mode, using the postgres databas Run the application: - screen -d "bundle exec foreman start" + bundle exec foreman start Set up a cron job to parse the rss feeds.