Skip to content

Commit

Permalink
Update bundles, webpack config and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
antonintouron committed Dec 15, 2021
1 parent 3a90243 commit cfda619
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 107 deletions.
231 changes: 127 additions & 104 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,177 +1,199 @@
GEM
remote: https://rubygems.org/
specs:
actioncable (6.0.3.6)
actionpack (= 6.0.3.6)
actioncable (6.0.4.3)
actionpack (= 6.0.4.3)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (6.0.3.6)
actionpack (= 6.0.3.6)
activejob (= 6.0.3.6)
activerecord (= 6.0.3.6)
activestorage (= 6.0.3.6)
activesupport (= 6.0.3.6)
actionmailbox (6.0.4.3)
actionpack (= 6.0.4.3)
activejob (= 6.0.4.3)
activerecord (= 6.0.4.3)
activestorage (= 6.0.4.3)
activesupport (= 6.0.4.3)
mail (>= 2.7.1)
actionmailer (6.0.3.6)
actionpack (= 6.0.3.6)
actionview (= 6.0.3.6)
activejob (= 6.0.3.6)
actionmailer (6.0.4.3)
actionpack (= 6.0.4.3)
actionview (= 6.0.4.3)
activejob (= 6.0.4.3)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (6.0.3.6)
actionview (= 6.0.3.6)
activesupport (= 6.0.3.6)
actionpack (6.0.4.3)
actionview (= 6.0.4.3)
activesupport (= 6.0.4.3)
rack (~> 2.0, >= 2.0.8)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (6.0.3.6)
actionpack (= 6.0.3.6)
activerecord (= 6.0.3.6)
activestorage (= 6.0.3.6)
activesupport (= 6.0.3.6)
actiontext (6.0.4.3)
actionpack (= 6.0.4.3)
activerecord (= 6.0.4.3)
activestorage (= 6.0.4.3)
activesupport (= 6.0.4.3)
nokogiri (>= 1.8.5)
actionview (6.0.3.6)
activesupport (= 6.0.3.6)
actionview (6.0.4.3)
activesupport (= 6.0.4.3)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (6.0.3.6)
activesupport (= 6.0.3.6)
activejob (6.0.4.3)
activesupport (= 6.0.4.3)
globalid (>= 0.3.6)
activemodel (6.0.3.6)
activesupport (= 6.0.3.6)
activerecord (6.0.3.6)
activemodel (= 6.0.3.6)
activesupport (= 6.0.3.6)
activestorage (6.0.3.6)
actionpack (= 6.0.3.6)
activejob (= 6.0.3.6)
activerecord (= 6.0.3.6)
activemodel (6.0.4.3)
activesupport (= 6.0.4.3)
activerecord (6.0.4.3)
activemodel (= 6.0.4.3)
activesupport (= 6.0.4.3)
activestorage (6.0.4.3)
actionpack (= 6.0.4.3)
activejob (= 6.0.4.3)
activerecord (= 6.0.4.3)
marcel (~> 1.0.0)
activesupport (6.0.3.6)
activesupport (6.0.4.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2, >= 2.2.2)
addressable (2.7.0)
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
bindex (0.8.1)
bootsnap (1.7.4)
bootsnap (1.9.3)
msgpack (~> 1.0)
builder (3.2.4)
byebug (11.1.3)
capybara (3.35.3)
capybara (3.36.0)
addressable
matrix
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
childprocess (3.0.0)
concurrent-ruby (1.1.8)
childprocess (4.1.0)
concurrent-ruby (1.1.9)
crass (1.0.6)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
elastic-apm (4.0.0)
elastic-apm (4.5.0)
concurrent-ruby (~> 1.0)
http (>= 3.0)
elasticsearch (7.4.0)
elasticsearch-api (= 7.4.0)
elasticsearch-transport (= 7.4.0)
elasticsearch-api (7.4.0)
elasticsearch (7.16.1)
elasticsearch-api (= 7.16.1)
elasticsearch-transport (= 7.16.1)
elasticsearch-api (7.16.1)
multi_json
elasticsearch-transport (7.4.0)
faraday
elasticsearch-transport (7.16.1)
faraday (~> 1)
multi_json
erubi (1.10.0)
faraday (0.17.0)
faraday (1.8.0)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0.1)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
multipart-post (>= 1.2, < 3)
ffi (1.15.0)
ruby2_keywords (>= 0.0.4)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
ffi (1.15.4)
ffi-compiler (1.0.1)
ffi (>= 1.0.0)
rake
globalid (0.4.2)
activesupport (>= 4.2.0)
http (4.4.1)
addressable (~> 2.3)
globalid (1.0.0)
activesupport (>= 5.0)
http (5.0.4)
addressable (~> 2.8)
http-cookie (~> 1.0)
http-form_data (~> 2.2)
http-parser (~> 1.2.0)
http-cookie (1.0.3)
llhttp-ffi (~> 0.4.0)
http-cookie (1.0.4)
domain_name (~> 0.5)
http-form_data (2.3.0)
http-parser (1.2.3)
ffi-compiler (>= 1.0, < 2.0)
i18n (1.8.10)
i18n (1.8.11)
concurrent-ruby (~> 1.0)
jbuilder (2.11.2)
jbuilder (2.11.3)
activesupport (>= 5.0.0)
listen (3.5.1)
listen (3.7.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.9.1)
llhttp-ffi (0.4.0)
ffi-compiler (~> 1.0)
rake (~> 13.0)
loofah (2.13.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
mini_mime (>= 0.1.1)
marcel (1.0.1)
marcel (1.0.2)
matrix (0.4.2)
method_source (1.0.0)
mini_mime (1.1.0)
mini_portile2 (2.5.0)
minitest (5.14.4)
mini_mime (1.1.2)
mini_portile2 (2.6.1)
minitest (5.15.0)
msgpack (1.4.2)
multi_json (1.13.1)
multi_json (1.15.0)
multipart-post (2.1.1)
nio4r (2.5.7)
nokogiri (1.11.3)
mini_portile2 (~> 2.5.0)
nio4r (2.5.8)
nokogiri (1.12.5)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
pg (1.2.3)
public_suffix (4.0.6)
puma (4.3.7)
puma (4.3.10)
nio4r (~> 2.0)
racc (1.5.2)
racc (1.6.0)
rack (2.2.3)
rack-proxy (0.6.5)
rack-proxy (0.7.0)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (6.0.3.6)
actioncable (= 6.0.3.6)
actionmailbox (= 6.0.3.6)
actionmailer (= 6.0.3.6)
actionpack (= 6.0.3.6)
actiontext (= 6.0.3.6)
actionview (= 6.0.3.6)
activejob (= 6.0.3.6)
activemodel (= 6.0.3.6)
activerecord (= 6.0.3.6)
activestorage (= 6.0.3.6)
activesupport (= 6.0.3.6)
rails (6.0.4.3)
actioncable (= 6.0.4.3)
actionmailbox (= 6.0.4.3)
actionmailer (= 6.0.4.3)
actionpack (= 6.0.4.3)
actiontext (= 6.0.4.3)
actionview (= 6.0.4.3)
activejob (= 6.0.4.3)
activemodel (= 6.0.4.3)
activerecord (= 6.0.4.3)
activestorage (= 6.0.4.3)
activesupport (= 6.0.4.3)
bundler (>= 1.3.0)
railties (= 6.0.3.6)
railties (= 6.0.4.3)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.3.0)
rails-html-sanitizer (1.4.2)
loofah (~> 2.3)
railties (6.0.3.6)
actionpack (= 6.0.3.6)
activesupport (= 6.0.3.6)
railties (6.0.4.3)
actionpack (= 6.0.4.3)
activesupport (= 6.0.4.3)
method_source
rake (>= 0.8.7)
thor (>= 0.20.3, < 2.0)
rake (13.0.3)
rb-fsevent (0.10.4)
rake (13.0.6)
rb-fsevent (0.11.0)
rb-inotify (0.10.1)
ffi (~> 1.0)
regexp_parser (2.1.1)
rubyzip (2.3.0)
regexp_parser (2.2.0)
rexml (3.2.5)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
sass-rails (6.0.0)
sassc-rails (~> 2.1, >= 2.1.1)
sassc (2.4.0)
Expand All @@ -182,8 +204,9 @@ GEM
sprockets (> 3.0)
sprockets-rails
tilt
selenium-webdriver (3.142.7)
childprocess (>= 0.5, < 4.0)
selenium-webdriver (4.1.0)
childprocess (>= 0.5, < 5.0)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2)
spring (2.1.1)
spring-watcher-listen (2.0.1)
Expand All @@ -192,9 +215,9 @@ GEM
sprockets (4.0.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.2)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets-rails (3.4.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
sprockets (>= 3.0.0)
thor (1.1.0)
thread_safe (0.3.6)
Expand All @@ -206,26 +229,26 @@ GEM
thread_safe (~> 0.1)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.7)
web-console (4.1.0)
unf_ext (0.0.8)
web-console (4.2.0)
actionview (>= 6.0.0)
activemodel (>= 6.0.0)
bindex (>= 0.4.0)
railties (>= 6.0.0)
webdrivers (4.6.0)
webdrivers (5.0.0)
nokogiri (~> 1.6)
rubyzip (>= 1.3.0)
selenium-webdriver (>= 3.0, < 4.0)
selenium-webdriver (~> 4.0)
webpacker (4.3.0)
activesupport (>= 4.2)
rack-proxy (>= 0.6.1)
railties (>= 4.2)
websocket-driver (0.7.3)
websocket-driver (0.7.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
xpath (3.2.0)
nokogiri (~> 1.8)
zeitwerk (2.4.2)
zeitwerk (2.5.1)

PLATFORMS
ruby
Expand Down Expand Up @@ -255,4 +278,4 @@ RUBY VERSION
ruby 2.6.3p62

BUNDLED WITH
2.1.4
2.2.27
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ The docker-compose file :

* Run `docker-compose build` (build is low, ~ 300 seconds)
* Run `docker-compose up -d`
* Wait `20 seconds`
* Wait `20 seconds` (rails need time to start)
* Run `docker-compose run web rails db:create` to create postgresql database
* Go to app in `localhost:3000` => Yeah it's rails !

# Add fake data

* Run `docker-compose exec web rails create_data_elasticsearch:process` (Run rake task => /lib/task)
* Index is `index01`
* Test if data is on elasticsearch, go to `localhost:3000/es`
* Test if data is on elasticsearch, go to `localhost:3000/es` (if you are error with webpack run `docker-compose run web rails webpacker:install` and override configuration)

# Run APM

Expand Down
2 changes: 1 addition & 1 deletion config/webpacker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ development:
compile: true

# Verifies that correct packages and versions are installed by inspecting package.json, yarn.lock, and node_modules
check_yarn_integrity: false
check_yarn_integrity: true

# Reference: https://webpack.js.org/configuration/dev-server/
dev_server:
Expand Down

0 comments on commit cfda619

Please sign in to comment.