Skip to content

Commit 8f2c237

Browse files
Corrected CentOS depencencies, Added libreadline as a dependency as Stringer will no longer run without it.
1 parent 07bc85b commit 8f2c237

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎VPS.md‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@ The first step is installing some essential dependencies from your VPS's package
55

66
#### Ubuntu/Debian
77

8-
sudo apt-get install git libxml2-dev libxslt-dev libcurl4-openssl-dev libpq-dev libsqlite3-dev build-essential postgresql screen
8+
sudo apt-get install git libxml2-dev libxslt-dev libcurl4-openssl-dev libpq-dev libsqlite3-dev build-essential postgresql libreadline-dev
99

1010
#### CentOS/Fedora
1111

12-
sudo yum install git libxml2-devel libxslt-devel libcurl4-devel libpq-devel libsqlite3-devel make automake gcc gcc-c++ postgresql screen
12+
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
13+
14+
On CentOS after installing Postgres, I needed to run these commands, Fedora likely the same.
15+
16+
service postgresql initdb && service postgresql start
1317

1418
Set up the database
1519
===================
@@ -78,7 +82,7 @@ Tell stringer to run the database in production mode, using the postgres databas
7882

7983
Run the application:
8084

81-
screen -d "bundle exec foreman start"
85+
bundle exec foreman start
8286

8387
Set up a cron job to parse the rss feeds.
8488

0 commit comments

Comments
 (0)