Commit 03475ff1 authored by Mario Manno's avatar Mario Manno

Merge branch 'bennibu-picks1'

parents 730a0598 ecf1968b
......@@ -2,6 +2,7 @@ language: ruby
rvm:
- 1.9.3
- 2.1.1
bundler_args: --without mysql postgresql
before_install:
- cp config/initializers/secret_token.rb.example config/initializers/secret_token.rb
- cp config/database.yml.template config/database.yml
......
......@@ -2,9 +2,9 @@ source 'http://rubygems.org'
gem 'rails', '~> 3.2.16'
gem 'mysql2'
gem 'pg'
gem 'sqlite3'
gem 'mysql2', group: :mysql
gem 'pg', group: :postgresql
gem 'sqlite3', group: :sqlite3
gem 'acts_as_commentable'
gem 'acts_as_indexed'
......
......@@ -48,6 +48,9 @@ and follow these steps:
bundle install
Hint. To avoid installing database drivers you don't wanna use, exclude
drivers with `bundle install --without="postgresql mysql"`.
4) Install nodejs:
frab needs a javascript runtime. You should use
......@@ -114,7 +117,7 @@ take additional steps to build a secure and stable site.
0. Change the password of the inital admin account
1. Change the initial secret token
2. Add a content disposition header, so attachments get downloaded and
2. Add a content disposition header, so attachments get downloaded and
are not displayed in the browser. See `./public/system/attachments/.htaccess` for an example.
3. Add a gem like `exception_notification` to get emails in case of errors.
......@@ -137,7 +140,7 @@ all attachments:
RAILS_ENV=production CONFERENCE=acronym rake frab:conference_export
Import a conference into another frab:
Import a conference into another frab:
RAILS_ENV=production rake frab:conference_import
......@@ -171,9 +174,9 @@ More information can be found in these github projects:
* [frab/vagrant-frab](https://github.com/frab/vagrant-frab)
* [frab/chef-frab](https://github.com/frab/chef-frab)
## Contact
## Contact
For updates and discussions around frab, please join our mailinglist
For updates and discussions around frab, please join our mailinglist
frab (at) librelist.com - to subscribe just send a mail to it
......
require "github/markdown"
require "redcarpet"
require "yard"
require "yard/rake/yardoc_task"
YARD::Rake::YardocTask.new do |t|
t.options = %w(--markup-provider=redcarpet --markup=markdown --main=README.md)
begin
require "github/markdown"
require "redcarpet"
require "yard"
require "yard/rake/yardoc_task"
YARD::Rake::YardocTask.new do |t|
t.options = %w(--markup-provider=redcarpet --markup=markdown --main=README.md)
end
rescue LoadError => error
puts error.message
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment