mentorenwahl/docs/src/installation.md
Dominic Grimm 2cee0fb6f0
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
Update docs
2023-05-19 22:27:13 +02:00

1.1 KiB

Installation

To whoever reads this, I hope you have a good time. I certainly did not trying to develop this mess of an application.

Prerequisites

To install docker-compose, you will need to have the following dependencies installed:

Clone the repository

For building the containers from scratch, the repository's packages are required.

git clone https://git.dergrimm.net/mentorenwahl/mentorenwahl.git
cd mentorenwahl/

After that you will need to create an environment configuration file.

cp .example.env .env

Build the containers

Building the project is as simple as invoking the make command according to following options:

# Production build
make prod

# Development build
make dev

Run the containers

Running the containers is done with docker-compose:

# TTY attached
docker-compose up

# TTY detached
docker-compose up -d