⚡
LightningRails
  • 👋Welcome
  • Access the Repo
  • Getting Started
    • 🚀Quickstart
    • 🎨Themes
    • 🖼️Customize the views
    • 🔮DaisyUI Library
    • ⚡Lightning Landing
      • Quickstart
      • Theme and branding
      • Page structure
      • Publish your landing page
  • Features setup
    • 📸Images & media
    • 🔐Admin Dashboard
    • Search Engine Optimization
    • 📧Automatic Emails
      • 🟨Postmark
      • 🔲Resend
    • 🚪Login with Devise
    • 🪄Magic Link Signup
    • 💳Stripe Payment Gateway
    • Github Signup
    • Lucide icons
    • 🤖Multi-provider AI
    • Open AI API
  • UI Components
    • 🦸Heros
    • ❔FAQs
    • 🃏cards
    • 💬Testimonials
    • 👋Call To Actions
    • 🔦Features
  • Deploying to production
    • ⬆️Heroku Deploy
    • 🛡️Security
      • 🎛️Rate Limiting
  • RESOURCES
    • 🚀Vote for new features
    • Report an issue
    • 🆘Get help on Slack
    • 🍭Design Resources
      • Maria Ba Illustrations
      • Assets Mockup Generator
      • Logo Generator
      • Tailwind Cheatsheet
      • HyperUI Tailwind Library
Powered by GitBook
On this page
  • Step 1: Clone the Repository
  • Step 2: Run the setup script
  • Step 3: Start the Server 🚀

Was this helpful?

  1. Getting Started

Quickstart

PreviousWelcomeNextThemes

Last updated 3 months ago

Was this helpful?

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.

If you doubt you have the correct Ruby on Rails Setup, you can refer to , one of the most complete.

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

If you are getting ERROR: Repository not found. fatal: Could not read from remote repository.

Make sure that you have accepted the Github Invitation on your email. Or that the github account in your terminal is the same you signed up with.

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 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.

🚀
Le Wagon setup guide
Quick demo