Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 647 Bytes

README.md

File metadata and controls

45 lines (29 loc) · 647 Bytes

Gargamel

Home

stuff

Issues

stuff

Installation

  1. brew install postgres

  2. brew install redis

  3. bundle install

  4. Create a .env file

    DATABASE_URL=postgres://localhost/gargamel
    REDIS_URL=redis://localhost:6379
    REDIS_CONNECTIONS_CLIENT=10
    REDIS_CONNECTIONS_SERVER=10
    
    ADMIN_MODE=true
    
  5. bundle exec rake db:migrate

Running

Server

  1. bundle exec foreman start dev

Daily Stat Job

  1. bundle exec rake garg:daily

Development Notes

Reset database

drop schema public cascade;
create schema public;