Replies: 2 comments 1 reply
-
|
Your first problem is using windows 😉 but no worries about being a n00b, you’re doing everything right by asking questions and explaining your steps clearly. You’re basically trying to figure out how to set an environment variable which you can’t do inline on windows like on linux I believe it’s something like But honestly you might be better googling it (how to set environment variables) |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
This discussion has been automatically closed due to inactivity. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Disclaimer: I'm a newbe at pretty much all the codding stuff and this is my fist support request on git so sorry if some info is missing or if I'm missing something obvious. I also tried to search for a related topic but couldn't find one for a source install.
So I just installed homepage from source. On Windows Server 2016
I'm able to start it by using "pnpm start" however when I do that I can only access my homepage from "http://localhost:3000.
I understand that I need to add other Ip and ports to the "HOMEPAGE_ALLOWED_HOSTS".
In the "install from source" page it says:
"Finally, run the server:
HOMEPAGE_ALLOWED_HOSTS=gethomepage.dev:1234 pnpm start"
When I enter that line I get the following error:
"HOMEPAGE_ALLOWED_HOSTS=gethomepage.dev:1234: The term 'HOMEPAGE_ALLOWED_HOSTS=gethomepage.dev:1234' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
That's why I started it with "pnpm start"
When I do start it with "pnpm start" I get this:
"PS C:\Program Files\homepage> pnpm start
▲ Next.js 15.3.1
✓ Starting...
⚠ "next start" does not work with "output: standalone" configuration. Use "node .next/standalone/server.js" instead.
✓ Ready in 830ms"
I also don't know if that's a bad thing or not haha.
So basically I want to find out how to add another IP to the HOMEPAGE_ALLOWED_HOSTS in a source install on windows. The configuration page for docker seems to talk about it but there is no page for configuration for source install so I'm a bit lost.
homepage version
v1.2.0
Installation method
Source
Configuration
Brand new installContainer Logs
homepage.log
Browser Logs
No response
Troubleshooting
I also tried to search for a related topic but couldn't find one for a source install. I tried to search on google, reddit and youtube.
I tried to " Set HOMEPAGE_ALLOWED_HOSTS" I tried "setx HOMEPAGE_ALLOWED_HOSTS "your_allowed_hosts""
Anyways can't seem to figure it out.
Beta Was this translation helpful? Give feedback.
All reactions