Skip to content

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

License

Notifications You must be signed in to change notification settings

pskarlas/rails_fast_dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Group 5

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:/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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published