An open API service indexing awesome lists of open source software.

https://github.com/blaked84/votebox


https://github.com/blaked84/votebox

project rails voting vuejs2

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# README

[![Build Status](https://travis-ci.org/Blaked84/Votebox.svg?branch=master)](https://travis-ci.org/Blaked84/Votebox)
[![Code Climate](https://codeclimate.com/github/Blaked84/Votebox.png)](https://codeclimate.com/github/Blaked84/Votebox)
[![Test Coverage](https://codeclimate.com/github/Blaked84/Votebox/badges/coverage.svg)](https://codeclimate.com/github/Blaked84/Votebox/coverage)
[![Dependency Status](https://gemnasium.com/badges/github.com/Blaked84/Votebox.svg)](https://gemnasium.com/github.com/Blaked84/Votebox)
## Initial Configuration

Before first use, you need to configure /config/secrets.yml

An example file is available in /config/secretes.yml.template

### Database creation

Database configuration is in config/database.yml

You can find an examples of databases.yml in /config :

* database.yml.mysql2.template : config file based on mysql2

* database.yml.sqlite3.template : config file based on sqlite3

Then, use :
RAILS_ENV=development bundle exec rake db:setup
RAILS_ENV=test bundle exec rake db:setup
RAILS_ENV=production bundle exec rake db:setup