From fbcad48ab534631cf1f1ed32a7383cf9365bf547 Mon Sep 17 00:00:00 2001 From: moyer34 <16784492+moyer34@users.noreply.github.com> Date: Wed, 7 Jun 2023 15:14:10 -0400 Subject: [PATCH 1/2] Update README.md - clarify installation and folder structure sections of Readme A few readme changes to better guide the user toward a successful first load: Updated installation section to clarify the need for the IGDB key to run the application and setting up folder structure. Failing to do these things before spinning up Romm prevents scanning from working, so they are best to handle first. Additionally, the folder structure section is updated to call the user's attention to the list of platform names and that custom names may be used in conjunction with entries in the config.yml file. --- README.md | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e54495a01..1cf09bbc7 100644 --- a/README.md +++ b/README.md @@ -71,19 +71,30 @@ Inspired by [Jellyfin](https://jellyfin.org/), allows you to manage all your gam ## 🐳 Docker -Last version of the docker [image](https://hub.docker.com/r/zurdi15/romm/tags). +__Prerequisites:__ +Install Docker and Docker-compose. Last version of the docker [image](https://hub.docker.com/r/zurdi15/romm/tags). -Check the [docker-compose.yml](https://github.com/zurdi15/romm/blob/master/examples/docker-compose.example.yml) example. +__To Install:__ -Get API key from [IGDB](https://api-docs.igdb.com/#about) for the CLIENT_ID and CLIENT_SECRET variables. +1. Get API key from [IGDB](https://www.igdb.com/) for the CLIENT_ID and CLIENT_SECRET variables. _This is required to run a library scan._ Instructions on generating the ID and Secret are [here](https://api-docs.igdb.com/#about). Note that IDGB requires a Twitch account with 2FA enabled to generate the ID and Secret. +2. Make sure your library folder structure matches one of the options listed in the next section. +3. Create a docker-compose file. See the following example [docker-compose.yml](https://github.com/zurdi15/romm/blob/master/examples/docker-compose.example.yml) file for reference. Customize for your setup and include the CLIENT_ID and CLIENT_SECRET from step 1 where indicated in the romm environment section of the file. +4. Launch the container: + + ```bash + docker-compose up -d + ``` + If configured correctly, Romm will automatically run an initial scan on your library. + + # Configuration ## 📁 Folder structure -RomM accepts two different folder structure by priority. +RomM accepts two different folder structure by priority. RomM will try to find the structure 1 and if it doesn't exists, RomM will try to find structure 2. -RomM will try to find the structure 1 and if it doesn't exists, RomM will try to find structure 2. +Review _Platforms support_ section for device naming conventions, and see _Config.yml_ section for ways to override default system names in the folder structure if your directories are named differently. - Structure 1 (high priority) - roms folder at root of library folder: ``` From 9f3e3238a5ffd4b9aedc7e7771bb03b423b67f90 Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Wed, 7 Jun 2023 18:43:40 -0400 Subject: [PATCH 2/2] Small tweaks to some of the language and anchor links --- README.md | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 1cf09bbc7..a99823790 100644 --- a/README.md +++ b/README.md @@ -71,14 +71,11 @@ Inspired by [Jellyfin](https://jellyfin.org/), allows you to manage all your gam ## 🐳 Docker -__Prerequisites:__ -Install Docker and Docker-compose. Last version of the docker [image](https://hub.docker.com/r/zurdi15/romm/tags). +Docker should be installed and set up before running the [image](https://hub.docker.com/r/zurdi15/romm/tags). -__To Install:__ - -1. Get API key from [IGDB](https://www.igdb.com/) for the CLIENT_ID and CLIENT_SECRET variables. _This is required to run a library scan._ Instructions on generating the ID and Secret are [here](https://api-docs.igdb.com/#about). Note that IDGB requires a Twitch account with 2FA enabled to generate the ID and Secret. -2. Make sure your library folder structure matches one of the options listed in the next section. -3. Create a docker-compose file. See the following example [docker-compose.yml](https://github.com/zurdi15/romm/blob/master/examples/docker-compose.example.yml) file for reference. Customize for your setup and include the CLIENT_ID and CLIENT_SECRET from step 1 where indicated in the romm environment section of the file. +1. Generate an API key for [IGDB](https://www.igdb.com/), and set the `CLIENT_ID` and `CLIENT_SECRET` variables. _This is required to run a library scan._ Instructions on generating the ID and Secret are [here](https://api-docs.igdb.com/#about). Note that IDGB 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 [following section](#folder-structure). +3. Create a docker-compose file. See the following example [docker-compose.yml](https://github.com/zurdi15/romm/blob/master/examples/docker-compose.example.yml) file for reference. Customize for your setup and include the `CLIENT_ID` and `CLIENT_SECRET` vareiables where indicated in the environment section of the file. 4. Launch the container: ```bash @@ -90,11 +87,11 @@ __To Install:__ # Configuration -## 📁 Folder structure +

📁 Folder structure

RomM accepts two different folder structure by priority. RomM will try to find the structure 1 and if it doesn't exists, RomM will try to find structure 2. -Review _Platforms support_ section for device naming conventions, and see _Config.yml_ section for ways to override default system names in the folder structure if your directories are named differently. +Review the [Platforms support](#platform-support) section for device naming conventions, and the [Configuration file](#configuration-file) section to override default system names in the folder structure, if your directories are named differently. - Structure 1 (high priority) - roms folder at root of library folder: ``` @@ -137,7 +134,7 @@ Review _Platforms support_ section for device naming conventions, and see _Confi │ ├─ rom_1.iso ``` -## ⚙️ Config.yml file +

⚙️ Configuration file

RomM can be configured through a yml file. @@ -149,14 +146,14 @@ Check the [docker-compose.yml](https://github.com/zurdi15/romm/blob/master/examp # Naming convention -## 🎮 Platforms support +

🎮 Platform support

If the RomM [folder structure](#📁-folder-structure) is followed, any kind of platform/folder-name is supported for the core features. For having extra metadata as well as cover images and platforms icons, the following table shows how to name your platforms folders. This will change over the time, adding games metadata for more platforms. Make sure that the platforms folder names are lowercase.
- Platforms support list + Platform support list | slug | name | games metadata |