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.
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:
- Fork this project to your account.
- Create a branch for the change you intend to make.
- Make your changes to your fork.
- Test your changes. To run the tests
bundle exec rake
- Send a pull request from your fork’s branch to our
master
(orstaging
) branch. (We created astaging
branch that contains latest updates in order to keep themaster
branch clean and up to date with production. Thestaging
branch can then be merged tomaster
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.
This following text describes how to set up your workstation to develop for diversity tickets.
- Check that you have the correct ruby version:
- open a new Terminal window
ruby --version # --> ruby 2.4.3
- Install bundler by running
gem install bundler
- Run
bundle install
to install the dependencies specified in your Gemfile - Postgresql setup
- for OS X:
1. in your terminal, run:
createuser -s pguser
psql postgres
- postgresql console is now opened.
- Enter
\password pguser
- Enter the password
pguser_password
(twice) 1. when done, quit the postgresql console with\q
- for Ubuntu:
1. in your terminal, run:
sudo -u postgres createuser -s pguser
sudo -u postgres psql
- postgresql console is now opened.
- Enter
\password pguser
- Enter the password
pguser_password
(twice) 1. when done, quit the postgresql console with\q
- Update the config/database.yml
- add this to the default group:
host: localhost
username: pguser
password: pguser_password - Change the names of the databases to:
diversity_ticketing_development
diversity_ticketing_test
diversity_ticketing_production - Run
rake db:create
to create the database.
If you want to contribute to Diversity Tickets by translating the app into your language, here are some indications on how to proceed
MIT.