- Clone the repo
There are two options how to do it:
- Use classic
git clone https://github.com/k0va1/lightning-rails.git
- Click on Use this template on Github and clone it afterwards
- 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
- Install dependencies
make install
- Setup database
make db-prepare
- Start the project
make start
make dive
be rails g active_admin_setup
- https://github.com/kirillplatonov/hotwire-livereload for live reload
- https://github.com/rails/tailwindcss-rails
- Add docs
- Add Makefile
- Add gems & libs
- Add tests
- Add script for renaming project