|
|
# Installation
Before running the [image][docker-tags], ensure that Docker is installed and running on your system.
1. Generate an API key for [IGDB][igdb] and set the `IGDB_CLIENT_ID` and `IGDB_CLIENT_SECRET` variables. This step is essential for running a library scan. Instructions for generating the ID and Secret can be found [here][igdb-api]. Note that IGDB requires a Twitch account with 2FA enabled to generate the ID and Secret.
2. Verify that your library folder structure matches one of the options listed in the [folder structure][folder-structure] section.
3. Create a docker-compose file. Refer to the example [docker-compose.yml][docker-compose-example] file for guidance. Customize it for your setup and include the `IGDB_CLIENT_ID` and `IGDB_CLIENT_SECRET` variables in the environment section of the file.
4. Launch the container(s) with `docker-compose up -d`
### Troubleshooting
If you are having issues with RomM, please review the [wiki page][wiki-troubleshooting-url] for troubleshooting steps and common issues.
# Configuration
## Folder Structure
As mentioned in the installation section, RomM requires a specific folder structure to work. The two supported structures are as follows:
| Structure A (recommended) | Structure B |
|---|---|
library/roms/gbc/rom_1.gbc
|
library/gbc/roms/rom_1.gbc
|
library/
├─ roms/
│ ├─ gbc/
│ │ ├─ rom_1.gbc
│ │ ├─ rom_2.gbc
│ │
│ ├─ gba/
│ │ ├─ rom_1.gba
│ │ ├─ rom_2.gba
│ │
│ ├─ ps/
│ ├─ my_multifile_game/
│ │ ├─ my_game_cd1.iso
│ │ ├─ my_game_cd2.iso
│ │
│ ├─ rom_1.iso
|
library/
├─ gbc/
│ ├─ roms/
│ ├─ rom_1.gbc
│ ├─ rom_2.gbc
│
├─ gba/
│ ├─ roms/
│ ├─ rom_1.gba
│ ├─ rom_2.gba
│
├─ ps/
│ ├─ roms/
│ ├─ my_multifile_game/
│ │ ├─ my_game_cd1.iso
│ │ ├─ my_game_cd2.iso
│ │
│ ├─ rom_1.iso
|