Creating a New JumpStart App in 2023
In 2022, I built something like 15 or 20 different proof of concept JumpStart apps so you’d think I’d remember how to do this but I just don’t so I thought I’d write it up again.
What is JumpStart?
JumpStart is a Rails application framework which gives you a starting template on which you can build a Rails app. Back in 2020 when I started using JumpStart, I named it my best decision of 2020 and I stand by that. Recommended.
Building a JumpStart App from Scratch
Here are the steps.
- Start at the JumpStart Homepage.
- Now you want to login.
- Select on your license and you’ll get a page of instructions.
- (Accept the invitation to join if you didn’t already).
- Clone the template into a local repo of your own name.
- Change into that directory with cd
- Create a git repo server side for what you just cloned down.
- Add the origin per JumpStart’s directions.
- (This is where I start to add some specific instructions for you that aren’t what JumpStart says). Make a docs directory at the top level of your app: mkdir docs
- Create a jumpstart.md file inside docs: touch docs/jumpstart.md
- Copy all the text from the set of JumpStart docs you have in front of you into docs/jumpstart.md – you’re going to want to get back to these at some point.
- The first thing you’re going to want to do is bundle install
- You want to open config/database.yml and customize the name of your database and / or database adapter.
- You want to run bin/rails db:create
- You want to run bin/rails db:migrate
- You want to run the tests: bin/rails test. They will likely fail but let’s try
- You want to create the rails JavaScripts: rails javascript:build
- You want to create the rails CSS: rails css:build
- Run bin/rails test again and if they all pass then you are golden to begin!
- If you do this a lot (like me, you may have local customizations that you want to apply to JumpStart here; I do). 20