/railslink

Official website of Ruby on Rails Link Slack Community

Primary LanguageRubyMIT LicenseMIT

Code Climate Circle CI Coverage Status

Ruby on Rails Link

http://www.rubyonrails.link

Official website of Ruby on Rails Link.

Getting Started

Requirements

  • Ruby 2.4.4
  • PostgreSQL 10+
  • Redis 4+

Contributing

  • Join the Railslink-dev Slack team by requesting an invitation (we'll need your email) in the official #railslink-dev channel.

  • Ask an existing member of Railslink-dev to make you an admin.

  • Acquire the missing Railslink-dev ENV vars in .env from another Slack member (ie. phallstrom). Add them to .env.local.

  • Using Docker...

    • Start it up: docker-compose up -d

    • Test the Slack API: docker-compose run --rm web rake slack:test:api

    • Create the database: docker-compose run --rm web rake db:setup

    • Sync Slack channels: docker-compose run --rm web rake slack:sync:channels

    • Optionally sync Slack users: docker-compose run --rm web rake slack:sync:users

  • Not using Docker...

    • Install gems: bundle install

    • Test the Slack API: rake slack:test:api

    • Create the database: rake db:setup

    • Sync Slack channels: rake slack:sync:channels

    • Optionally sync Slack users: rake slack:sync:users

    • Start the Rails server: rails s

  • Visit http://localhost:3000/admin and verify you can login and see the admin dashboard.