Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/julianrubisch/toy_train
Simple Ruby on Rails Gamification Toolkit
https://github.com/julianrubisch/toy_train
Last synced: 10 days ago
JSON representation
Simple Ruby on Rails Gamification Toolkit
- Host: GitHub
- URL: https://github.com/julianrubisch/toy_train
- Owner: julianrubisch
- License: mit
- Created: 2022-04-23T11:16:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-24T15:32:24.000Z (over 2 years ago)
- Last Synced: 2024-12-12T14:34:24.738Z (15 days ago)
- Language: Ruby
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# ToyTrain
Short description and motivation.## Usage
How to use my plugin.## Installation
Add this line to your application's Gemfile:```ruby
gem "toy_train"
```And then execute:
```bash
$ bundle
```Or install it yourself as:
```bash
$ gem install toy_train
```## Installation
### Models
#### Install Migrations
```sh
bin/rails toy_train:install:migrations
```## Configuration
In an initializer, do:
```rb
ToyTrain.configure do |config|
config.games = [] # ActiveHash data
config.user_class = "Participant" # default "User"
end
```## Contributing
Contribution directions go here.## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).