@ -17,3 +17,61 @@ Copy the example file `.env.dist` and replace placeholders with your actual conf
If you have your own MySQL database, comment out the database service in `compose.yaml` and skip root password in `.env`.
If you have your own MySQL database, comment out the database service in `compose.yaml` and skip root password in `.env`.
There are additional comments to that effect in the files.
There are additional comments to that effect in the files.
### Configure `config/unfold.yaml`
Before running the application, review and update `config/unfold.yaml` to match your desired magazine settings, theme, and external links. This file controls:
- Magazine name, short name, and description
- Theme and color settings
- Community articles feature
- External footer links
- Other project-specific configuration
Edit the values in `config/unfold.yaml` as needed for your deployment.
### Customizing Theme and Icons
You can override the default theme and icons by adding your own files to `/assets/theme/local/`. To do this:
- Copy the structure and file names from `/assets/theme/default/`.
- Place your custom `theme.css` and icon files in your theme folder.
- Update your configuration in `config/unfold.yaml` to reference your custom theme if needed.
This allows you to easily switch or update the look and feel of your magazine without modifying the default assets.
### Build the Docker containers
For development:
```bash
docker compose build
```
For production (using production overrides), set `APP_ENV=prod` in your `.env` file and run: