Visit our main website ›
Page Title
Body These are the step for installing Postgres on your server. <pre><code>sudo su - yum install postgresql-client postgresql-server postgresql-devel chkconfig postgresql on service postgresql start gem install postgres su - postgres createuser deploy -a -d exit</code></pre> If your database.yml uses the postgres adapter, the railsmachine deploy scripts will automatically run postgres commands for the <code>db:setup</code> task, which is normally run as a subtask of the <code>servers:setup</code> task during the [[5MinuteDeployment]]. You may need to adjust the postgres permissions on your server for the task to run successfully.
Make page private