So you want to make Speakerinnen Liste better. Great!
Here are the steps to contribute:
Here, you'll have an overview over the open issues: rubymonsters#216. We are happy to answer your questions if you consider to help. All the issues have a link to their specification. If you want to work on an issue feel free to assign yourself.
If you have other ideas feel free to open an own issue!
- Fork the main repository.
This is your own copy of the
speakerinnen_liste
project to work in. - Clone your repository to your local machine.
git checkout -b newdesign
This creates a new branch, callednewdesign
in our example, in your local repository.- Make your changes.
git commit
git push origin newdesign:newdesign
This pushes your new branch callednewdesign
to your GitHub repository.
When you have made your changes and tested them, please send us a pull request.
-
For your database.yml please copy config/database_example.yml (Example below in Mac OS X or Linux):
cp config/database_example.yml config/database.yml
-
Install PostgreSQL (it depends on your OS)
-
Create a PostgreSQL user with the same name as your username
-
Install Bundler (if you don't have it already)
gem install bundler
-
Install gems:
bundle install
-
Create the database:
bundle exec rake db:create
-
Run the database migrations:
bundle exec rake db:migrate
-
Run the database seeds:
bundle exec rake db:seed
-
Run the app:
bundle exec rails s
-
If you build or test some admin features you have to create an admin user. You also can assign the status via the console:
rails c user = Profile.find(<your-profile-id>) user.admin = true user.save
If you have any questions about Git or GitHub, GitHub Help is a great resource!