For political accountability and power to the people.
You'll need the following installed to run the template successfully:
- Ruby 3.2+
- Node.js v20+
- PostgreSQL 12+
- Redis - For ActionCable support (and Sidekiq, caching, etc)
- Libvips or Imagemagick -
brew install vips imagemagick
- Overmind or Foreman -
brew install tmux overmind
orgem install foreman
- helps run all your processes in development
Then you can start the database servers:
brew services start postgresql
brew services start redis
First, clone the app
git clone git@github.com:kaka-ruto/carpitan.git
cd carpitan
Run bin/setup
to install Ruby and JavaScript dependencies and setup your database.
bin/setup
To run your application, you'll use the bin/dev
command:
bin/dev
This starts up Overmind (or Foreman) running the processes defined in Procfile.dev
. We've configured this to run the Rails server, CSS bundling, and JS bundling out of the box. You can add background workers like Sidekiq, the Stripe CLI, etc to have them run at the same time.
See the Installation docs
See the Installation docs
We'd love to receive contributions!
If you have an improvement you'd like to share
- Create a fork of the repository
- Make the change
- Test the change
- Send us a pull request.