diff --git a/README.md b/README.md index ab8a510..1fdc963 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,13 @@ This small project provides a web based viewer for comics in the CBZ and CBR for * Make sure the web server can read the folder than contains your comic book/novel archives * Create a MySQL/MariaDB database for the app with privileges granted to a user + * `create database comics` + * `create user 'comics'@'localhost' identified by 'password'` + * `grant all privileges on comics.* to 'comics'@'localhost'` * Import the `install/initial_db_mysql.sql` database structure + * `mysql --host=localhost --user=comics -p comics < install/initial_db_mysql.sql` * Change the ownership of the `comics/` and `thumbs/` folders to the web server user + * `chown www-data:www-data comics thumbs` * Copy the `config-dist.php` file to `config.php` and edit that file appropriately * Set up the cron job for things in [cron/](cron/). If installing on a systemd OS see services below.