Welcome! To get started, clone the repository and push it to a new repository.
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 - Stripe CLI for Stripe webhooks in development -
brew install stripe/stripe-cli/stripe
If you use Homebrew, dependencies are listed in Brewfile
so you can install them using:
brew bundle install --no-upgrade
Then you can start the database servers:
brew services start postgresql
brew services start redis
Create a new Git repository for your project. Then you can clone Jumpstart Pro and push it to your new repository.
git clone [email protected]:jumpstart-pro/jumpstart-pro-rails.git myapp
cd myapp
git remote rename origin jumpstart-pro
git remote add origin [email protected]:your-account/your-repo.git # Replace with your new Git repository url
git push -u origin main
First, edit config/database.yml
and change the database credentials for your server.
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
To merge changes from Jumpstart Pro, you will merge from the jumpstart-pro
remote.
git fetch jumpstart-pro
git merge jumpstart-pro/main
If you have an improvement you'd like to share, create a fork of the repository and send us a pull request.