Files
LicenseAPI/docs/content/1.introduction/1.getting-started.md
2024-07-30 17:01:31 +02:00

43 lines
1.1 KiB
Markdown

# Getting Started
## Prerequisites
Before you start, make sure you have the following installed:
- [Docker](https://docs.docker.com/get-docker/)
- [Docker Compose](https://docs.docker.com/compose/install/)
::alert{type="info"}
📧 You will also need a Mailserver to send emails. If you don't have one, you need to manually verify users in the
database.
::
## Download and Install
```bash
mkdir LicenseAPI && cd LicenseAPI
wget https://raw.githubusercontent.com/gnmyt/LicenseAPI/main/docker-compose.yml
```
## Update environment variables
Open the `.env` file and update the following environment variables:
- `MAIL_SERVER`: The SMTP server to send emails.
- `MAIL_PORT`: The SMTP server port.
- `MAIL_USER`: The SMTP server username.
- `MAIL_PASS`: The SMTP server password.
- `APP_URL`: The URL of your LicenseAPI instance.
- `DISABLE_SIGNUPS`: Set to `true` to disable user signups (after the first user is created).
## Start LicenseAPI
```bash
docker compose up -d
```
::alert{type="success"}
✨ Well done! You have successfully installed LicenseAPI. Now you can access the LicenseAPI
at [http://localhost:8025](http://localhost:8025).
::