GithubHelp home page GithubHelp logo

openremote / custom-project Goto Github PK

View Code? Open in Web Editor NEW
6.0 7.0 22.0 2.82 MB

Template repo for creating an OpenRemote custom project

License: Other

Dockerfile 1.09% Java 60.72% JavaScript 6.81% HTML 11.12% TypeScript 12.62% Groovy 7.65%

custom-project's Introduction

Custom Project

This repo is a template for custom projects; showing the recommended project structure and including README files in the deployment directory to provide details about how to customise each part.

Setup Tasks

The following OR_SETUP_TYPE value(s) are supported:

  • production - Requires CUSTOM_USER_PASSWORD environment variable to be specified

Any other value will result in default setup.

Encrypted files

If any encrypted files are added to the project then you will need to specify the GFE_PASSWORD environment variable to be able to build the project and decrypt the files.

custom-project's People

Contributors

igorrutka avatar richturner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

custom-project's Issues

Build stuck on `:openremote:ui:component:or-icon:copyMdiFont`

Running a clean clone of the custom-project template using:
./gradlew clean installDist --info

I get:

> Task :openremote:ui:component:or-icon:copyMdiFont FAILED
Caching disabled for task ':openremote:ui:component:or-icon:copyMdiFont' because:
  Build cache is disabled
Task ':openremote:ui:component:or-icon:copyMdiFont' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
Starting process 'command 'npm''. Working directory: /home/reven/openremote/openremote/ui/component/or-icon Command: npm run copyMdiFont
:openremote:ui:component:or-icon:copyMdiFont (Thread[Execution worker for ':' Thread 4,5,main]) completed. Took 0.006 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':openremote:ui:component:or-icon:copyMdiFont'.
> A problem occurred starting process 'command 'npm''

Trying to figure out how to build and start a production environment.

Gradle does not start building custom components (ui/component/*)

There is a custom application and a custom UI component package. Here is the structure
Screenshot 2024-02-22 120939

Executing the command ./gradlew clean installDist, the build crashes.

The problem is that cradle starts building a custom application when the package of a custom component is not built.

image

You can see that the gradle installDist task was completed in the package of the custom component, but the package was not built.

image

The root package.json contains an indication of ui/component as a workspace, and an additional indication of the order of workspaces has no effect

image

StackOverflowError on first build

Describe the bug
The build failed with StackOverflowError message on fresh copy of the repository

To Reproduce
Steps to reproduce the behavior:

1. git clone [email protected]:openremote/custom-project.git
2. cd custom-project/
3. git submodule init
4. git submodule update
5. chmod u+x gradlew
6. ./gradlew eclipse

Screenshots
image

Setup information:

  • OS: Ubuntu 22.04
  • java version "17.0.4"
  • OpenRemote v3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.