- Java 21
- Maven 3
First install Java 21 with a package manager
and then export the correct the JAVA_HOME
. For example, on macOS:
export JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk-21.jdk/Contents/Home/
Then create the MySQL database:
DROP DATABASE IF EXISTS access;
CREATE DATABASE access CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;
CREATE USER 'access'@'localhost' IDENTIFIED BY 'secret';
GRANT ALL privileges ON `access`.* TO 'access'@'localhost';
The access server uses Spring Boot and Maven. To run locally, type:
cd server
mvn spring-boot:run
The access client uses ReactJS. To run locally, type:
cd client
nvm use
yarn dev
In the default application.properties
the mail host is localhost
and the port is 1025
. Run mailpit to capture mails.
See https://github.com/axllent/mailpit
Login with Mujina IdP and user admin
to become superuser in the local environment.
To update the pom.xml with the latest versions, run
cd server
mvn versions:use-latest-releases
To see the latest versions report for the client run
nvm use
cd client
yarn outdated