Last active
September 10, 2025 17:02
-
-
Save jcpunk/e6bcd331ac95d0b7a97708abe5c2ddbb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yum -y install bash-completion procps-ng vim git gcc g++ epel-release systemd-devel ruby-devel glibc-devel irb postgresql postgresql-server | |
| crb enable | |
| yum -y install rubygems rubygem-ruby-libvirt libvirt-devel sassc libsass-devel rubygem-rspec rubygem-rake rubygem-pg rubygem-ffi rubygem-bundler rubygem-rdoc rubygem-mail gettext-devel | |
| mkdir /run/postgresql | |
| chown postgres /run/postgresql | |
| su - postgres -c 'initdb' | |
| su - postgres -c 'pg_ctl -D /var/lib/pgsql/data -l logfile start' | |
| su - postgres -c 'createuser -s root' | |
| cd /foreman | |
| cp config/database.yml.example config/database.yml | |
| RAILS_ENV=test bundle install | |
| RAILS_ENV=test bundle exec rake db:create | |
| RAILS_ENV=test bundle exec rake db:migrate | |
| RAILS_ENV=test bundle exec rake db:seed | |
| RAILS_ENV=test bundle exec rails snapshots:generate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment