Set up your IDE. Note that Application run configurations are already prepared when using this template.
Use docker-compose -f profile\dev-testing.yml up --build -d and run the ‘Custom Deployment’ configuration. done
You should have two containers running in Docker done
,and the manager through your IDE.
Run the modelWatch gradle task to build the typescript model ./gradlew modelWatchdone
Next we serve the Manager UI from the /openremote/ui/app/manager directory with npm run serve -- --env config=..\..\..\..\deployment\manager\app. this where i stuck (i am using IntelliJ Community Edition on Windows 10)
PS C:\Users..\Desktop\IOT\custom-project\ui\app\manager> npm run serve – --env config=…......\deployment\manager\app
npm error Missing script: “serve”
npm error
npm error To see a list of scripts, run:
npm error npm run
npm error A complete log of this run can be found in: C:\Users..\AppData\Local\npm-cache_logs\2025-02-23T08_53_31_910Z-debug-0.log
Hi there,
i am using the latest version just cloned from repo
maybe someone can recommend step-by-step actions (more detailed than in Docs) for newbies like me
The documentation is a bit outdated there
running npm run serve relates to serving the manager UI that is part of the main repository.
There is no populated UI project in the custom project by default, so that won’t work.
If your goal is to run a custom project,
then from the custom project main dir:
./gradlew clean installdist
build the custom deployment container: docker build -t openremote/custom-deployment:latest ./deployment/build/
edit the docker-compose in the main folder of the custom project: delete all x-logging/awslogs lines
I am also trying to run a ‘custom’ project, as this seemed like the first step in getting a bare-bones setup that I can then work off of. I have been having difficulties getting anything to work so far…
The idea is that I would have OpenRemote running on a linux server (CLI only) and I want to then be able to access the web page from other machines.
Is there a more simple step by step for this than what is in the current documentation, as you mention it is outdated.
I was able to easily run the ‘quick start’ setup using Docker Desktop, however I want to get this to run on the server and let me access the page on other computers.
With the introduction of versioning, the team has changed the way custom projects work recently.
That’s why some of the documentation related to custom projects is now outdated, in this case the page user-guide/deploying/custom-deployment. I will see if I can find the time to make a PR to update this part of the documentation
Beat me to it! Thanks to @Berg as this way also worked for me.
Just to add @RRR , to access the webpage from an external machine, I also made changes to some of the ports settings on the docker-compose.yml of the custom project:
Also I changed this in the manager service environments:
OR_HOSTNAME: "<your-IP>" # Set server's IP
Then to access the page I simply put the IP address into the URL bar of my browser and it should send you to the page over HTTPS.
Someone might want to correct this as I’m not entirely sure it needs to be done this specific way, but that is what I did and it worked from an external machine.