rails_fast_dev Tailwind Templates

Rails_fast_dev

Spin up fast a Rails 7 app with Tailwind & esbuild with Docker

Rails Fast Dev - Rails 7, esbuild, TailwindCSS, postgresql

Spin up fast a plug & play containerized dev enviroment
with Rails 7-alpha2, esbuild, tailwindcss & postgresql

Requirements: docker, docker-compose

STEPS


1. Clone repository
git clone https://github.com/pskarlas/fast_rails_7.git
2. Build image (in repo root)
docker-compose build  
3. Create Rails app
docker-compose run --no-deps --rm web script/new  

During this step

  • choose to overwite Gemfile
  • choose to not overwrite database.yml (it holds a configuration based on DB container config)
4 Spin the container up
 docker-compose up 

TO-DO


  • Introduce a DDD template (folder structure)
  • Introduce a 'frequently used gems' template
  • Introduce arguments for image build / app name

Top categories

Loading Svelte Themes