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
Issues with working on a Windows machine #570
Comments
Thanks for reporting this, @asharonbaltazar. I don't think we have anyone developing on Windows yet. |
New issue:Saving frontend changes doesn't reload the application. As explained on the matrix channel:
To resolve:
I can confirm this works. |
@kgodey @asharonbaltazar I did setup on windows machine, haven't faced any issue. |
@asharonbaltazar Thanks for this information. I'm new to Docker, I've located the |
@mr-gabe49 The Docker setup changed in #476 and these instructions are no longer valid. What's the error you're running into? |
@kgodey Saving changes in the front-end does not reload the application. When making changes I currently have to stop and start container again. This is taking a lot of time. I'm on Windows with WSL. I just downloaded Node and npm locally. I also tried the instruction for running the front-end locally in the README.md Manual section but did not have any success. |
@mr-gabe49 Could you please try this branch: https://github.com/centerofci/mathesar/tree/docker_container_root_user? This could be related to #626 (comment). |
@pavish No it didn't help with this issue. |
This seems to be an issue with WSL, as mentioned here: microsoft/WSL#4739 There are a few different workarounds that can be done:
I would suggest option 1, it should be relatively simple. We would need to add this to our README, and common issues wiki. |
Thanks @pavish! This is amazing, it updates instantaneously! I followed the first recommendation . This is what I did for future contributors:
|
I am facing the same issue in debian.
EDIT |
This issue has not been updated in 90 days and is being marked as stale. |
I'm going to close this issue since there are no further discussions here. For people facing issues with Windows, please try cloning the repo in the linux subsystem in WSL. If there are further issues that persist, contact us via Matrix or feel free to open another issue. |
Description
The commands mentioned in README file don't work on Windows with WSL2.
Expected behavior
The README commands shouldn't be difficult to follow. One command starts everything up on
localhost:8000
Clear documentation for windows users, with common issues listed out.
To Reproduce
docker-compose up
Environment
Additional context
I suspect these errors are the culprit:
As discussed on the matrix channel:
Suggested temporary fix:
Resolution:
I read up a little more on this error and learned that you don't need to run Docker commands on the Linux terminal if
Use the WSL 2 based engine
is enabled.Thus, running the commands on PowerShell (in Administrator) works!
To resolve:
docker-compose up
on powershellThe text was updated successfully, but these errors were encountered: