add foreman to start dev enviroment
This commit is contained in:
3
.foreman.yml
Normal file
3
.foreman.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
rails: bundle exec rails server
|
||||||
|
webpack: yarn dev
|
||||||
|
relay: yarn relay:watch
|
||||||
1
Gemfile
1
Gemfile
@@ -44,6 +44,7 @@ group :development do
|
|||||||
gem "graphql_playground-rails"
|
gem "graphql_playground-rails"
|
||||||
gem "web-console", ">= 4.1.0"
|
gem "web-console", ">= 4.1.0"
|
||||||
|
|
||||||
|
gem "foreman"
|
||||||
gem "listen", "~> 3.3"
|
gem "listen", "~> 3.3"
|
||||||
gem "spring"
|
gem "spring"
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -113,6 +113,7 @@ GEM
|
|||||||
faker (2.18.0)
|
faker (2.18.0)
|
||||||
i18n (>= 1.6, < 2)
|
i18n (>= 1.6, < 2)
|
||||||
ffi (1.15.3)
|
ffi (1.15.3)
|
||||||
|
foreman (0.87.2)
|
||||||
globalid (0.5.2)
|
globalid (0.5.2)
|
||||||
activesupport (>= 5.0)
|
activesupport (>= 5.0)
|
||||||
graphql (1.12.14)
|
graphql (1.12.14)
|
||||||
@@ -338,6 +339,7 @@ DEPENDENCIES
|
|||||||
enumerize
|
enumerize
|
||||||
factory_bot_rails (~> 6.2)
|
factory_bot_rails (~> 6.2)
|
||||||
faker (~> 2.18)
|
faker (~> 2.18)
|
||||||
|
foreman
|
||||||
graphql
|
graphql
|
||||||
graphql_playground-rails
|
graphql_playground-rails
|
||||||
image_processing (~> 1.12)
|
image_processing (~> 1.12)
|
||||||
|
|||||||
@@ -42,5 +42,10 @@ yarn relay
|
|||||||
yarn relay:watch // requer a instalação do watchman
|
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
|
## ⛳ Modelo De Domínio
|
||||||

|

|
||||||
|
|||||||
Reference in New Issue
Block a user