trabajo-afectivo/.pkgr.yml

36 lines
719 B
YAML
Raw Normal View History

2015-12-03 09:03:08 +00:00
targets:
2015-12-03 09:24:22 +00:00
centos-6:
2015-12-03 09:03:08 +00:00
dependencies:
- httpd
2016-05-30 07:12:01 +00:00
- postgresql
- postgresql-server
- postgresql-devel
centos-7:
dependencies:
- httpd
- postgresql
- postgresql-server
- postgresql-devel
2015-12-03 09:03:08 +00:00
2015-12-03 14:49:22 +00:00
before:
2015-12-03 15:39:52 +00:00
- uname -a
2016-05-30 07:12:01 +00:00
- ruby -v
- env
- cp config/database.yml.pkgr config/database.yml
- echo "gem 'pg'" >> Gemfile.local
- echo "gem 'mysql2', '~> 0.3.20'" >> Gemfile.local
- sed -i "s/specs:/specs:\\n pg (0.18.4)/g" Gemfile.lock
- sed -i "s/DEPENDENCIES/DEPENDENCIES\\n pg/g" Gemfile.lock
- "#cat Gemfile.lock"
2016-09-07 06:49:52 +00:00
- contrib/cleanup.sh
2015-12-03 14:43:18 +00:00
2015-12-03 09:03:08 +00:00
env:
2015-12-03 14:34:40 +00:00
- RAILS_ENV=production
2016-05-30 07:12:01 +00:00
- PORT=3000
- RAILS_SERVE_STATIC_FILES=true
2015-12-03 09:03:08 +00:00
2016-05-30 07:12:01 +00:00
services:
- postgres
2015-12-03 09:03:08 +00:00
2016-05-30 07:12:01 +00:00
notifications: false