diff --git a/.foreman.yml b/.foreman.yml new file mode 100644 index 0000000..c63a8ca --- /dev/null +++ b/.foreman.yml @@ -0,0 +1,3 @@ +rails: bundle exec rails server +webpack: yarn dev +relay: yarn relay:watch diff --git a/Gemfile b/Gemfile index 404f3e8..eb55e3a 100644 --- a/Gemfile +++ b/Gemfile @@ -44,6 +44,7 @@ group :development do gem "graphql_playground-rails" gem "web-console", ">= 4.1.0" + gem "foreman" gem "listen", "~> 3.3" gem "spring" end diff --git a/Gemfile.lock b/Gemfile.lock index fc32f9f..0f7b1f1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -113,6 +113,7 @@ GEM faker (2.18.0) i18n (>= 1.6, < 2) ffi (1.15.3) + foreman (0.87.2) globalid (0.5.2) activesupport (>= 5.0) graphql (1.12.14) @@ -338,6 +339,7 @@ DEPENDENCIES enumerize factory_bot_rails (~> 6.2) faker (~> 2.18) + foreman graphql graphql_playground-rails image_processing (~> 1.12) diff --git a/README.md b/README.md index da28abd..a463dc5 100644 --- a/README.md +++ b/README.md @@ -42,5 +42,10 @@ yarn relay yarn relay:watch // requer a instalação do watchman ``` +Ou inicie rode todos os comandos acima com: +``` +foreman start -f .foreman.yml +``` + ## ⛳ Modelo De Domínio ![](./erd.svg)