/diversity_ticketing

An app to make diversifying conferences easier!

Primary LanguageRubyMIT LicenseMIT

Travis says: Build Status

This is a Ruby on Rails app made by the RubyMonstas (a RailsGirls study group based in Berlin), to make diversifying conferences easier.

Supported by the Travis Foundation.

Contributing workflow

If you want to contribute, you can look at the open issues. We are happy to answer your questions if you consider to help.

If you have other ideas to enhance the site, or if you've found a bug, feel free to open an issue!

Here’s how we suggest you go about proposing a change to this project:

  1. Fork this project to your account.
  2. Create a branch for the change you intend to make.
  3. Make your changes to your fork.
  4. Test your changes. To run the tests bundle exec rake
  5. Send a pull request from your fork’s branch to our master (or staging) branch. (We created a staging branch that contains latest updates in order to keep the master branch clean and up to date with production. The staging branch can then be merged to master for deployment. Therefore, ideally your pull request merges to staging first.)
    • For bonus points, include screenshots in the description.

Using the web-based interface to make changes is fine too, and will help you by automatically forking the project and prompting to send a pull request.

Build setup

This following text describes how to set up your workstation to develop for diversity tickets.

  1. Check that you have the correct ruby version:
  2. open a new Terminal window
  3. ruby --version # --> ruby 2.4.3
  4. Install bundler by running gem install bundler
  5. Run bundle install to install the dependencies specified in your Gemfile
  6. Postgresql setup
  7. for OS X: 1. in your terminal, run:
    1. createuser -s pguser
    2. psql postgres
    3. postgresql console is now opened.
    4. Enter \password pguser
    5. Enter the password pguser_password (twice) 1. when done, quit the postgresql console with \q
  8. for Ubuntu: 1. in your terminal, run:
    1. sudo -u postgres createuser -s pguser
    2. sudo -u postgres psql
    3. postgresql console is now opened.
    4. Enter \password pguser
    5. Enter the password pguser_password (twice) 1. when done, quit the postgresql console with \q
  9. Update the config/database.yml
  10. add this to the default group:
    host: localhost
    username: pguser
    password: pguser_password
  11. Change the names of the databases to:
    diversity_ticketing_development
    diversity_ticketing_test
    diversity_ticketing_production
  12. Run rake db:create to create the database.

Translate the app

If you want to contribute to Diversity Tickets by translating the app into your language, here are some indications on how to proceed

License

MIT.