π³ Installation (User)
This guide explains how to deploy LibreFolio for regular use using Docker. This is the recommended method for users who do not intend to modify the source code.
β Prerequisites
- π Docker: Install Docker
- π Docker Compose: Usually included with Docker Desktop.
π₯ 1. Download the Project
Download the latest release from the GitHub Releases page. Unzip the folder.
Alternatively, you can clone the repository:
βοΈ 2. Configure Environment
The project uses a .env file for configuration. A sample file is provided.
-
Copy the example file:
-
Edit
.env(Optional):- π
PORT: Change the port if8000is already in use. - π
LIBREFOLIO_DATA_DIR: Change where data is stored (default:./backend/data/prod).
- π
π 3. Run with Docker Compose
This single command will build the images and start the application.
- π
-druns the application in detached mode (in the background). - β³ The first time you run this, Docker will download the necessary base images and build the application, which may take a few minutes.
π€ 4. Create a Superuser
To log in, you need to create an administrator account. The first user created automatically becomes the superuser.
Replace <username>, <email>, and <password> with your credentials.
π 5. Access LibreFolio
The application is now running! Open your browser and go to:
http://localhost:8000
(Or use the port you configured in .env).
π Updating LibreFolio
To update to a new version:
-
Download the latest code:
-
Rebuild and restart the containers:
-
Apply database migrations (if any):