To contribute to Support Central, write some code and send a pull request. Please follow these guidelines:
- Fork the repo
- Create a branch
- Use clear commit messages. The intent of the commit must be clear, as well as the problem and the solution.
- Make sure that you have tests.
- Open a Pull Request
Support Central is written in Rails 5 and uses RSpec for tests. It requires PostgreSQL, even in development.
-
Create configuration files:
- config/database.yml
- config/secrets.yml
- config/config.yml
-
Install dependencies:
bundle install
-
Create database:
bundle exec rails db:create
-
Load the database schema:
bundle exec rails db:schema:load
-
Create an initial set of users:
bundle exec rails db:seed
-
Start a development server:
rails start
orpassenger start
:-)
You can now login with any of the email addresses created by rake db:seed
. The development password is 12345678.