diff options
author | re4k <re4k@re4k.info> | 2013-05-05 16:49:36 +0900 |
---|---|---|
committer | re4k <re4k@re4k.info> | 2013-05-05 16:49:36 +0900 |
commit | 33fa30d3a5e116cfc6b1347605a57aed49469900 (patch) | |
tree | dfacfac2f48c0aa9f89024075f54c0ac37e74817 /README.md | |
parent | 0544f801143a937a6a7880299319a7eb61b28523 (diff) | |
download | aclog-33fa30d3a5e116cfc6b1347605a57aed49469900.tar.gz |
update settings (rails: web/receiver)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -23,14 +23,26 @@ A web service like Favstar. * User settings (favorites notification) ## Requirements -* Ruby 1.9.3+ -* MySQL 5.5.14+ +* Ruby 1.9.3 +* MySQL/MariaDB 5.5.14+ ## Setup -Add to my.cnf +### MySQL +Add to `my.cnf` [mysqld] innodb_file_format = Barracuda innodb_file_per_table = 1 innodb_large_prefix +Create MySQL user +### aclog configuration +* Rename `config/settings.yml.example` to `config/settings.yml` and set consumer key, ... +* Rename `env.sh.example` to `env.sh` and set `DATABASE_URL`. +* Setup database + + source env.sh + rake db:setup + +* Set secret token. Rename `config/initializers/secret_token.rb.example` to `config/initializers/secret_token.rb`. Run `rake secret` and set the result to `config/initializers/secret_token.rb`. + |