How to change URL? #7308
-
I made changes here, but when I rebuild the project, server cant boot up for some errors. is this the correct way to modify url? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 13 replies
-
Please provide more information on what you're trying to do. It seems like you're using the development environment. I would recommend to start with the devcontainer, as with them it's really easy to spin up an development environment. But from your change with the site url, I'm thinking you want to run a production setup. So please follow these docs. They guide you on how to get started. If anything is still unclear then, feel free to comment again. |
Beta Was this translation helpful? Give feedback.
-
When making a question here, please include any error messages you are seeing. Otherwise there is no way we can help you out. |
Beta Was this translation helpful? Give feedback.
-
Here's ouput when I rebuild devcontainer after making changes in docker-compose.yaml. Python version 3.11.8 - /home/inventree/dev/venv/bin/python3 During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
-
@wolflu05 @SchrodingersGat |
Beta Was this translation helpful? Give feedback.
Is it possible that you have another server already running on port 80?
I tried the following, from the "stock" devcontainer config (i.e. no changes out of the box).
From the command line, run
invoke server -a 0.0.0.0:8888
Then, the server is available on port
8888
(change as per your requirements). No other adjustments should be needded.