Set up project structure

This commit is contained in:
2024-11-28 22:36:52 +01:00
commit dd005475aa
20 changed files with 744 additions and 0 deletions

33
README.md Normal file
View File

@@ -0,0 +1,33 @@
# Hlæja Device Configuration
A vault of secrets, a treasure untold, Configurations gathered, both new and old. Each setting recorded, precise and secure, A map of intention, steadfast and pure. From thresholds to timings, and modes they require, Each value ignites the systems fire. The Device Configuration, a beacon, a guide, Where every adjustment finds where to reside. In its care lies the key to deploy, The heart of the network, its balance, its joy. A treasure of purpose, its worth beyond measure, Device configurations, a systems true treasure.
## Properties for deployment
| name | required | info |
|------------------------|----------|-------------------------|
| spring.profiles.active | * | Spring Boot environment |
Required: * can be stored as text, and ** need to be stored as secret.
## Releasing Service
Run `release.sh` script from `master` branch.
## Development
### Global gradle properties
To authenticate with Gradle for services that require authentication, you can set your users and tokens in the `gradle.properties` file.
Here's how you can do it:
1. Open or create the `gradle.properties` file in your Gradle user home directory:
- On Unix-like systems (Linux, macOS), this directory is typically `~/.gradle/`.
- On Windows, this directory is typically `C:\Users\<YourUsername>\.gradle\`.
2. Add the following lines to the `gradle.properties` file:
```properties
repository.user=your_user
repository.token=your_token_value
```
or use environment variables `REPOSITORY_USER`, and `REPOSITORY_TOKEN`