Skip to content
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

[WIP] docker dev env #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

[WIP] docker dev env #33

wants to merge 1 commit into from

Conversation

seeReadCode
Copy link
Owner

@seeReadCode seeReadCode commented Feb 9, 2022

@Will-Sommers
Copy link

wp
I was able to have webpacker files served, apart from a sockjs error. I need to look a bit more to understand this.

dotenv
re: dotenv, I think that sounds good and is a common pattern.

web_console

For browser console access, it looks like there's a setting to be added to development.rb. The docs are below.

https://github.com/rails/web-console#configweb_consolepermissions

I was able to get the address by just reading the error message and adding it there. It sounds like, from the docs, that being too permissive isn't a good idea. You could do some introspection via the host and see what it is running as but I think a note is fine for now.

@Will-Sommers
Copy link

Also, as a heads up, I think Docker would be fun for this because it lets people check it out quickly but also understand it is a burden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants