This commit is contained in:
k3nny 2023-03-07 22:10:36 +01:00
parent 5516e10221
commit 4b319e3f40
2 changed files with 28 additions and 1 deletions

27
README.md Normal file
View File

@ -0,0 +1,27 @@
# java release updater
## Description
* Update Java version status from Adoptium API + store in PostgreSQL database
### Todo
* Download release
* Package release to Artifactory
* Trigger Docker image build
## Install
* Create PostgreSQL database with associated script
* Install Python3 dependencies
```bash
/usr/bin/python3 -m pip install -r requirements.txt
```
## Usage
* Launch
```bash
/usr/bin/python3 main.py
```

View File

@ -1,5 +1,5 @@
create database jru;
create user jru_user with encrypted password 'nixxamere';
create user jru_user with encrypted password 'testpasswd';
grant all privileges on database jru to jru_user;
CREATE TABLE jru.java_versions (