add example for creating db

This commit is contained in:
Kiara Grouwstra 2023-03-31 11:43:01 +02:00
parent c8725d1fed
commit eded0376eb
1 changed files with 6 additions and 1 deletions

View File

@ -4,7 +4,12 @@ This script automates installing Wordpress with all specific BIJ1 plugins,
template and Advanced Custom Fields settings.
Steps:
- First you have to setup a database.
- First you have to setup a database, e.g. for MariaDB/MySQL:
- ```sql
DROP DATABASE IF EXISTS $db;
CREATE DATABASE $db CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
GRANT ALL PRIVILEGES ON $db.* TO '$WORDPRESS_DB_USER';
```
- Start the installer by running `./install.sh` in your web folder.
- Note down the bij1admin password that's generated during installation.
- Tweak the BIJ1 specific settings in wp-config.php.