Skip to content

isaka-james/b

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Behaviour Management System

since 04 Sep,2024

How to run the System

CREDIDENTIALS

{
    "username":"isaka",
    "password":"admin",
    "first_name":"Isaka",
    "last_name":"James",
    "born":"2024-10-09",
    "gender":"Male",
    "email":"isaka@localhost.sys"
}

So you will use username as isaka and password as admin. Or you can create your own credentials.

First Commands

It is better to run a docker in another session, don't just run the ./mvnm spring-boot:run which automatically run the docker compose up to turn on the postgres.

docker compose up

To create the keypairs,

openssl genrsa -out keypair.pem 2048

And follows by public key,

openssl rsa -in keypair.pem -pubout -out public.pem

And generating the private key,

openssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in keypair.pem -out private.pem 

And you can delete the keypair.pem, And moving the public key and private key to the /src/main/resources/certs folder.

Releases

No releases published

Packages

No packages published

Languages