Closed SozinV closed 11 months ago
What is the URL that is returning Not Found?
Not really a URL, the page just says Not Found.
Which page?
When I just connect to the local host nothing loads, it just says Not Found.
When you run the server from the command line make sure that you are running it from the same directory that the directory named "root" is in.
For example:
cd ./rbxb/place/web
place
Alternatively you can set the full filepath of the root directory when you run the server using the -root option. For example:
place -root "C:/place/web/root"
Did this solve it?
I'm confused, what is place suppose to represent because when I try to use what you put for setting up the root place isn't recognized as a command.
Place is referring to this go program: https://github.com/rbxb/place/tree/master/cmd/place How were you running the server before?
You can replace "place" in those examples with something like go/bin/place
or path to wherever the compiled go program is.
Okay, I see what you mean by the command -root doesn't work either. I might be that I'm missing something.
What happens when you use -root with the path to the root directory?
Like where I do cd "root folder" then use -root?
Have you done both of these?
I have installed Go Compiler, then from a video I watched I compiled main.go.
Do you know the file path of the compiled program? It should be something like "C:/go/bin/place" but it will be different on your device. To run the program you will need to call it from the command line using that path. So you might run it like this:
C:/go/bin/place -root "C:/place/web/root"
When connecting to the localhost to test it out it just says Not Found.