diff --git a/Gemfile b/Gemfile index 16336ae1..ff75a061 100644 --- a/Gemfile +++ b/Gemfile @@ -25,3 +25,6 @@ group :test do gem 'shoulda-matchers', '~> 5.1' end +group :development do + gem 'foreman' +end diff --git a/Makefile b/Makefile index 68d55d75..6129e6aa 100644 --- a/Makefile +++ b/Makefile @@ -6,12 +6,16 @@ setup_backend: bundle setup: make bundle + make setup_frontend make setup_db bundle: docker-compose run --rm solo_customer_template_app gem install bundler --conservative docker-compose run --rm solo_customer_template_app bundle install +setup_frontend: + npm i daisyui + setup_db: docker-compose run --rm solo_customer_template_app rails db:create db:migrate db:seed @@ -24,7 +28,7 @@ rollback: # Debugging the project bash: - docker-compose run --rm solo_customer_template_app bash + docker-compose run --rm solo_customer_template_app sh console: docker-compose run --rm solo_customer_template_app bundle exec rails c diff --git a/Procfile.dev b/Procfile.dev index 023e98a0..66c45582 100644 --- a/Procfile.dev +++ b/Procfile.dev @@ -1,2 +1,2 @@ -web: bin/rails server -p 3000 +web: bin/rails server -p 3000 -b 0.0.0.0 css: bin/rails tailwindcss:watch diff --git a/app/views/shared/_navbar.html.erb b/app/views/shared/_navbar.html.erb index e61dd028..6ddcbe44 100644 --- a/app/views/shared/_navbar.html.erb +++ b/app/views/shared/_navbar.html.erb @@ -4,7 +4,7 @@