taanguyen / points

A Rails application to collaboratively estimate stories

Home Page:https://fastruby.github.io/points/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Points

CircleCI Maintainability

This is a Rails application to collaboratively estimate stories.

Getting started

To get started with the app, clone the repo and then install the needed gems running the setup script:

$ ./bin/setup

Environment Variables

ORGANIZATION_LOGIN: This is the organization name as it appears in the GitHub URL, for instance orgname in https://github.com/orgname. It is needed to check if users are a part of the organization. Ensure that your membership is set to public when you visit https://github.com/orgs/orgname/people.

If you don't belong to any organization, you can set up one here: https://github.com/organizations/plan

Make sure you add your organization to the .env file like this:

ORGANIZATION_LOGIN=orgname

GITHUB_APP_ID and GITHUB_APP_SECRET: These are the credentials of the OAuth GitHub App that you need to create. Follow the instructions on this link to create one: Creating an OAuth GitHub App

When creating the OAuth GitHub App, the Homepage URL field should be set to http://localhost:3000, and the Authorization callback URL should be http://localhost:3000/users/auth/github/callback.

Once you create the app and generate credentials for it, make sure you add them to the .env file like this:

GITHUB_APP_ID=xxxxxxxxxxxxxxxxxxxx
GITHUB_APP_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Starting the Server

$ rails s

Go to http://localhost:3000

Running Tests

$ rails spec

Using Docker

NOTE: You'll need to have docker and docker-compose installed

Build the points docker image

$ docker-compose build

Setup database and run migrations

$ docker-compose run web rails db:setup

Run the app

$ docker-compose up

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/fastruby/points. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

When Submitting a Pull Request:

  • If your PR closes any open GitHub issues, please include Closes #XXXX in your comment

  • Please include a summary of the change and which issue is fixed or which feature is introduced.

  • If changes to the behavior are made, clearly describe what changes.

  • If changes to the UI are made, please include screenshots of the before and after.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Points project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

Sponsorship

FastRuby.io | Rails Upgrade Services

Points is maintained and funded by FastRuby.io. The names and logos for FastRuby.io are trademarks of The Lean Software Boutique LLC.

About

A Rails application to collaboratively estimate stories

https://fastruby.github.io/points/


Languages

Language:Ruby 66.4%Language:HTML 18.4%Language:SCSS 10.5%Language:JavaScript 4.3%Language:Dockerfile 0.3%Language:Shell 0.1%