-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading versions and use the sample-template-rails #65
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to GitHub's gitignore samples The following directories shouldn't be in the git tree:
/public/packs
/public/packs-test
/public/assets
You may want to review that .gitignore sample 😉
That is correct, thanks for pointing this out :) I will review it. |
Remove ruby link repository
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the webpack compiled assets from the /public
folder. Also be aware that here you are only serving the bootstrap assets with webpack. You may need to move the assets from app/assets
to app/javascript
and import them in app/javascript/packs/application.js
. See this discussion for reference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good! I only left a couple of minor comments. Also, it would be nice if bootstrap can be served from node instead from ruby gems, but it's ok as it is.
Gemfile
Outdated
gem 'vcr' | ||
gem 'webdrivers' | ||
gem 'webmock' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This gems are unused. In fact, since there are no e2e tests, I believe the whole :test
group is not used. Can you confirm that?
Gemfile
Outdated
gem 'overcommit', '~> 0.52.1', require: false | ||
gem 'rubocop', '~> 0.80.0', require: false | ||
gem 'rubocop-rails', '~> 2.4', require: false | ||
gem 'rubocop-rspec', require: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are not using rspec
, this shouldn't be needed.
Resolves #64
This project was updated using the sample-template-rails. Additionally, I've added the Makefile and docker-compose.