-
Notifications
You must be signed in to change notification settings - Fork 417
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
Adaptation for windows (fork) #381
Comments
@scwall Thanks for this! This is tremendously useful. Not bad for a "junior dev" ;) I am planning on backporting your changes to Tutor. I just need a few clarifications:
EDIT: for future reference, here are the commits that should be backported to tutor:
|
This is more portable, as described here: #381
This should make tutor portable on Windows. Well, if the `id -u` command is supported at least... See: #381
Hello sorry for the response time I had to switch to another project and I wasn't available :). I was running the tests now but I see this has already been done, I'll try to be more reactive next time. @regisb |
No worries. Can you confirm that the newest release works for Windows? |
No worries I look at it immediately I post quickly |
Error in windows os.getuid() not available in windows 10
And for install setup for develop
I look at the end of the day if it is necessary to make tests with some small corrections that I can make, I had also proceeded to a change on windows which obliges to force the writing of the file in UTF8 in tutor/env.py but otherwise he tries to write it in the rotten windows charsets 😝
|
@regisb the user doesn't matter under windows 10 I just sent back the win32 information if needed otherwise it's enough to retrieve the user with the other command sent, the use of the command you had put for windows sends an error it will just be necessary to add the hostnames in the hosts file of windows manually : |
I guess I can close this? |
Hello,
Currently working on openedx for deployment for a clients, the project has been deployed by my "project manager" on the server for different universities with the help of tutor.
Working on windows I couldn't use tutor in the current state. I created a fork and made some adaptations to make it work on windows.
I don't know if I used the most adequate methods to modify the project (I'm a junior dev :) ). I wanted to share my fork with you if you are interested in adding it to the initial project.
https://github.com/scwall/tutor
Thank's you in advance
The text was updated successfully, but these errors were encountered: