🚀Quickstart
After accepting the Github Invite, Follow these three easy steps to quickly set up your new Ruby on Rails application using the Lightning Rails boilerplate.
Step 1: Clone the Repository
First, clone the Lightning Rails repository to your local machine. Open your terminal and run:
gh repo clone LightningRails/lightning-rails mysupercoolapp
This creates a clone of the lightning rails repo, which is great! But we only want the source code, not the GitHub origin or all your code would be pushed to the Source repo 🫣
Let's fix it by removing the Origin and creating a new one...
Step 2: Run the setup script
After cloning the repository, navigate to the project directory:
cd mysupercoolapp
This 1 min script will ask you information about your project, if you don't have the data, don't worry, you can always go back and fill it in the meta.yml
file.
bash generators/setup.sh
Step 3: Start the Server 🚀
Now you are ready to start your development server:
bin/dev
We use bin/dev
instead of rails s
so that Tailwind.css is compiled along with the server.
And that's it, enjoy the beautiful look of your new Rails app starter kit.
Last updated
Was this helpful?