This repository stores the code for the KCC Rails app. Currently all code is still related to the non-profit this app was originally for
The stack is:
- Ruby on Rails 6.0 with react-on-rails/webpacker
- Tailwind CSS (for now..)
- Postgres
- ruby
2.6.3
- bundler
2.1.4
- postgres
Install and start postgresql:
- On macOS, you can use
pg_ctl -D /usr/local/var/postgres start
- (To stop postgres use
pg_ctl -D /usr/local/var/postgres stop
)
Install dependencies:
bundle install
yarn install
Setup the database:
rails db:setup
rails db:migrate
Check config/initializers to edit coaches(admins), team, and email settings. All other settings can be configured in settings.yml
Devs can add their email to the coaches.rb initializer to see the admin view.
start dev server
./bin/webpack-dev-server
in separate terminal
rails server
Then go to http://localhost:3000 to view app.
See THEMING.md.
- Fork the project
- Create a branch with your changes
- Submit a pull request
MIT