Skip to content

Latest commit

 

History

History
64 lines (49 loc) · 2.66 KB

CONTRIBUTING.md

File metadata and controls

64 lines (49 loc) · 2.66 KB

Hi, Welcome to the contributing guide for the paste.opensuse.org website. We are very eager to take any and all contributions from you, and to aid you in successfully contributing to this codebase.

About

Where is the code hosted?

You can find the canonical git repository here: https://github.com/openSUSE/paste-o-o.git

What are the technologies used?

This is a Ruby on Rails based website, using the openSUSE theme.

Get in contact with us!

We are available on various instant messaging platforms, as well as more traditional mailing list, use the links below to get in contact if you need or want to.

Submitting changes

To submit changes for review, create a pull request on the site's GitHub, if your PR contains UI changes, please include a screenshot before and after, so that it's easier for us to review the changes.

Reporting Bugs

Bugs in this repo need to be reported to the GitHub Issues on the GitHub repo. You can do so here: https://github.com/openSUSE/paste-o-o/issues/new

Fixing Bugs

The link below lists all the currently reported bugs against the project on GitHub. https://github.com/openSUSE/paste-o-o/issues Those bugs still need fixing and we would appreciate any pull requests fixing them.

Setting up the development environment

You will need to install git and docker-compose first, then run:

git clone https://github.com/openSUSE/paste-o-o.git
cd paste-o-o
cp config/database.sample.yml config/database.yml
cp config/site.sample.yml config/site.yml
cp config/storage.sample.yml config/storage.yml
docker-compose build
docker-compose up

and visit http://127.0.0.1:3000/ to see the website running in your browser

Running tests

After making changes to the codebase, you may want to run some of the tests included to make sure your changes didn't break any other feature.

docker-compose run --rm web bundler exec rubocop
docker-compose run --rm web bundler exec rspec

Thank you for considering contributing!