Sha256: ffc44eb5aea12757ec55fc7425e62bde157c13b38cfdbe81bd8d107e357941f4

Contents?: true

Size: 1.29 KB

Versions: 8

Compression:

Stored size: 1.29 KB

Contents

[![Build Status](https://api.shippable.com/projects/54ed69135ab6cc13528db117/badge?branchName=master)](https://app.shippable.com/projects/54ed69135ab6cc13528db117/builds/latest)
[![Code Climate](https://codeclimate.com/github/kaspernj/family_gallery/badges/gpa.svg)](https://codeclimate.com/github/kaspernj/family_gallery)
[![Test Coverage](https://codeclimate.com/github/kaspernj/family_gallery/badges/coverage.svg)](https://codeclimate.com/github/kaspernj/family_gallery)

# FamilyGallery

## Install

Add to your Gemfile and bundle:

```ruby
gem "family_gallery"
```

Then add something like this to your Rails-app's "routes.rb":
```ruby
mount FamilyGallery::Engine => "/family_gallery"
```

Create a config-file under "#{Rails.root}/config/family_gallery.yml" and insert this:
```yaml
facebook:
  app_id: 123
  app_secret: 321
```

In order to use the existing translations, you should add this line to your "application.rb":
```ruby
config.i18n.load_path += Dir[FamilyGallery::Engine.root.join("config", "locales", "**", "*.yml").to_s]
```

To create an admin-user with a password of "password", you can run the seed script like this:
```bash
bundle exec rake family_gallery:seed
```

You should now be able to access it on "http://localhost:3000/family_gallery".

## License

This project rocks and uses MIT-LICENSE.

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
family_gallery-0.0.8 README.md
family_gallery-0.0.7 README.md
family_gallery-0.0.6 README.md
family_gallery-0.0.5 README.md
family_gallery-0.0.4 README.md
family_gallery-0.0.3 README.md
family_gallery-0.0.2 README.md
family_gallery-0.0.1 README.md