No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
test
.gitignore
.ruby-gemset
.ruby-version
Gemfile
Gemfile.lock
LICENSE
Procfile
README.md
Rakefile
config.ru

README.md

Code Climate Dependency Status Circle CI Coverage Status

Oaxaca.rb Slack

Official website of Oaxaca.rb.

https://oaxacarb.herokuapp.com

http://oaxacarb.org/

Getting Started

Dependencies

Make sure you have installed bundler and PostgreSQL.

# if you need to install PostgreSQL on Mac with Homebrew

brew install postgresql

Setup

Clone this repo and configure database.

If you already have a local PostgreSQL superuser, make .env file on project root and configure like this:

PG_USER=mysuperuser
PG_PASSWORD=mypassword
SLACK_API_TOKEN=your-slack-api-token

You can get your Slack API token at https://api.slack.com/web#authentication

If you don't have a superuser yet, create oaxacarb user, with password "oaxacarb"

createuser -P -s -e oaxacarb

Then run:

bundle
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake slack:update
bundle exec rails s