-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Instructions for setting up edit.tosdr.org on Windows #1111
Comments
Hey! The QUICKSTART.md is pretty much outdated as we only support dockerized environments for now. Maybe @madoleary can give you instructions on how to run it on windows, |
@madoleary I do not even know how to start contributing. |
Hi, thanks for your interest in the project! I've only ever worked in Linux or MacOS, so I've not had the opportunity to install the app in Windows. That said, I would suggest Docker. The docker-compose file in the main branch is out-of-date, though. I'm traveling at the moment, so I can't work on it immediately. I can perhaps take a look for early next week. You're welcome to hack around on the docker-compose, and if you figure it out, feel free to make a PR! |
@madoleary I can't even use Docker right now.
Most of the errors I got after trying to start Docker were:
"The system cannot find the file specified."
I am not alone here, there were many issues on Docker's GitHub repository
about this exact issue when they tried to use v4.18. It seems to be linked
to a buggy version of Windows Subsystem for Linux.
I will try to find a workaround for this.
…On Sat, 22 Apr 2023, 3:30 pm mad, ***@***.***> wrote:
Hi, thanks for your interest in the project! I've only ever worked in
Linux or MacOS, so I've not had the opportunity to install the app in
Windows. That said, I would suggest Docker. The docker-compose file in the
main branch is out-of-date, though. I'm traveling at the moment, so I can't
work on it immediately. I can perhaps take a look for early next week.
You're welcome to hack around on the docker-compose, and if you figure it
out, feel free to make a PR!
—
Reply to this email directly, view it on GitHub
<#1111 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2OTUC7PPMJGC322BDD7S7LXCOCITANCNFSM6AAAAAAXEWRCMM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
That's a bummer. Another option would be to install the raw dependencies (Ruby v2.7.2, Rails v5.2.5, Bundler v2.2.6, Yarn, Postgres), then I can try to help with next steps. |
Its also possible to use Gitpod, as the repo contains a ready-to-use gitpod.yml |
@madoleary I already installed all the dependencies, everything you listed has a Windows version |
But there was a problem. When I tried to crawl ANY documents, I got this error:
|
Do you have a crawler instance running? |
How do I install a crawler? |
The crawler repository provides a compose file https://github.com/tosdr/crawler.tosdr.org/blob/master/docker-compose.yml Make sure to set your LOGIN_CREDENTIALS to |
I already told you, Docker 4.18 is broken, I can't use Docker |
Running the crawler baremetal on a windows system was never tested and is officially not supported so you must run a selenium server and a crawler server yourself. The latter isnt that hard: https://github.com/tosdr/crawler.tosdr.org/blob/master/Dockerfile
As for selenium, you might wanna look into their documentation on how to run a selenium server |
Okay now, closing this issue. |
One more thing, I don't how to setup the LOGIN_CREDENTIALS for the crawler, it was never documented. I put the login credentials for the admin account for the main Phoenix website, then I got this error:
It also told me to adjust these two things in the crawler.js file:
But when I tried to set up a Appwrite account, I got this error:
As I said, Docker is broken right now and I can't install Appwrite normally. |
You cannot create a new account and you'd have to use an anonymous crawler account: Make sure to set your LOGIN_CREDENTIALS to [email protected]:anonymous |
Crawler opens at 0.0.0.0:80, but ToS;DR expects 127.0.0.1:5000. |
The quickstart guide (QUICKSTART.md) is only made for Linux or MacOS. I don't even use these operating systems on a regular basis, Microsoft Windows is my daily driver.
Windows is completely different compared to Linux and MacOS, so porting the guide is not easy, but to be clear, ToS;DR welcomes all users who use different kinds of operating systems.
Linux and MacOS account for only 23% of all desktop computers (statcounter), but Windows accounts for 69%.
With no guide for Windows, I would have to:
This is why I created this issue. This is to account for Phoenix contributors who use Microsoft Windows.
The text was updated successfully, but these errors were encountered: