Template for building Rails Turbo Apps from scratch

Lightning Rails

How to use

  1. Clone the repo

There are two options how to do it:

  • Use classic
git clone https://github.com/k0va1/lightning-rails.git
  1. Rename and prepare the project

Go to setup.sh and rename these variables according to your values

project_name="mvp" <- your project name
dockerhub_username="hetsketch" <- your username on dockerhub
prod_ip="1.1.1.1" <- your future production server's IP. In case you don't have yet leave it as is

Run setup.sh

./setup.sh
  1. Install dependencies
make install
  1. Setup database
make db-prepare
  1. Start the project
make start

How to add ActiveAdmin

make dive
be rails g active_admin_setup

What's inside?

TODO

  • Add docs
  • Add Makefile
  • Add gems & libs
  • Add tests
  • Add script for renaming project