EricTYL 0aa2edc09d | ||
---|---|---|
app | ||
bin | ||
config | ||
lib | ||
test | ||
.gitignore | ||
Gemfile | ||
MIT-LICENSE | ||
README.md | ||
Rakefile | ||
sync_ntnu_personal_data.gemspec |
README.md
Usage
at the target app, not this Orbit module(Rails Engine)
- create project_root/config/initializers/ntnu_sybase_config.rb with following content:
ENV['USER_NAME'] = 'database user name'
ENV['PASSWORD'] = 'database password'
ENV['NTNU_DB_HOST'] = 'database host'
ENV['NTNU_DB_PORT'] = 'database port'
ENV['TDS_VERSION'] = '5.0'
ENV['DB_NAME'] = 'database name'
- set cron job to run
bundle exec rake sync_personal_plugins:sync
everyday