Skip to content

Repository files navigation

RTogether-api

Backend API for RTogether web application

Dependencies

Before starting, make sure you have the following dependencies installed:

Configuration

  1. Create a .env file in the root directory of the project based on the .env.example file.
cp .env.example .env

Running the Project

Using Docker

Make the build-and-run.sh script executable:

chmod +x build-and-run.sh

Execute the script to build and run the project:

./build-and-run.sh

Using Podman

Make the podman-build-and-run.sh script executable:

chmod +x podman-build-and-run.sh

Execute the script to build and run the project:

./podman-build-and-run.sh

Manual Execution

If you prefer not to use the scripts, follow these steps:

  1. Export env variables
export $(cat .env | xargs)
  1. Build the project using Maven:
mvn clean package -DskipTests
  1. Build the Docker (or Podman) image:
docker-compose build
# or
podman-compose build
  1. Start the containers:
docker-compose up -d
# or
podman-compose up -d
  1. Execute the tests:
mvn test

About

RTogether API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages