Skip to content
Ruby HTML JavaScript CSS CoffeeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
vendor/assets
.codeclimate.yml
.gitignore
.rspec
.rubocop.yml
.ruby-version
.travis.yml
Capfile
Gemfile
Gemfile.lock
LICENSE
Procfile
Procfile.production
README.md
Rakefile
circle.yml
coffeelint.json
config.ru
guidelines.md

README.md

moi

Build Status Code Climate

development

requirements

  • ruby 2.1+
  • postgresql 9.3+
  • phantomjs (to run specs) See Installing phantomjs
  • aspell (for spellchecker). If this package is not found, it just won't check. You can install on mac with homebrew: brew install aspell --with-lang-es

getting started

  1. after cloning & switching to app

$ git clone git@github.com:GrowMoi/moi.git moi-backend && cd moi-backend

  1. bundle

$ bundle

  1. revise database configs

$ cp config/database.yml.example config/database.yml

  1. create db, migrate it and seed it

$ bundle exec rake db:create db:migrate db:seed

  1. boot the app

$ bundle exec foreman start

resources

emails

we are using mailcatcher on dev environment

api

we are using apipie + maruku to document our api using markdown. All endpoints should be documented. Include Api::BaseDoc module and use #doc_for if you're documenting an endpoint which method isn't defined in the controller itself

You can’t perform that action at this time.