From 64e7393228b2797c66ca2917bba3292e359e64b5 Mon Sep 17 00:00:00 2001 From: ahmadzaid1 <142598865+ahmadzaid1@users.noreply.github.com> Date: Sat, 4 Jan 2025 18:49:56 +0200 Subject: [PATCH] Update README.md --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 32945eb..1621c02 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ After careful consideration, **the Medieval Theme** has been chosen. The tools are: - **Character Card Maker** - **Timeline Maker** - - **Name Generator** **_(it doesn't work, download the sqlite database in the repo and configure your php to make it work)._** + - **Name Generator** **_([it doesn't work, download the SQLite database in the repo and configure your PHP to make it work](#setting-up-the-name-generator))._** 3. **Reviews Section** - **Section Title**: **What People Are Saying** @@ -59,6 +59,29 @@ After careful consideration, **the Medieval Theme** has been chosen. - A link to **Other Sites** for related or additional resources. --- +### Setting Up the Name Generator + +To make the Name Generator work, you'll need to: + +1. **Download SQLite**: + Download and install SQLite from [sqlite.org](https://www.sqlite.org/). + +2. **Install PHP SQLite Extension**: + Ensure that the PHP SQLite extension is installed and enabled on your server. + +3. **Configure Database Path**: + In the `nameGenerator.php` file, set the path to your SQLite database like so: + + ```php + +**Sqlite is much more efficient compared to the bloat MySql*** +--- ### Acknowledgments Thanks to [Janelle Shane's DnD Characters GitHub Repository](https://github.com/janelleshane/DnD-characters) for inspiring character names used in this project.