2021-12-02 14:52:08 +00:00
|
|
|
BIJ1 Wordpress Installer
|
|
|
|
-------------------------
|
|
|
|
This script automates installing Wordpress with all specific BIJ1 plugins,
|
|
|
|
template and Advanced Custom Fields settings.
|
|
|
|
|
|
|
|
Steps:
|
2023-03-31 11:47:50 +00:00
|
|
|
- First you have to setup a database, e.g. for MariaDB/MySQL (substituting `$WORDPRESS_DB_USER`, `$db`, `$password`):
|
2023-03-31 09:43:01 +00:00
|
|
|
- ```sql
|
2023-03-31 11:47:50 +00:00
|
|
|
CREATE USER '$WORDPRESS_DB_USER'@'localhost' IDENTIFIED BY '$password';
|
|
|
|
FLUSH PRIVILEGES;
|
2023-03-31 09:43:01 +00:00
|
|
|
DROP DATABASE IF EXISTS $db;
|
|
|
|
CREATE DATABASE $db CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
2023-03-31 11:47:50 +00:00
|
|
|
GRANT ALL PRIVILEGES ON $db.* TO '$WORDPRESS_DB_USER'@'localhost';
|
2023-03-31 09:43:01 +00:00
|
|
|
```
|
2023-03-31 12:01:28 +00:00
|
|
|
- Put the files here where you want to install WordPress, and navigate there.
|
|
|
|
- Start the installer by running `./install.sh`.
|
2021-12-02 14:52:08 +00:00
|
|
|
- Note down the bij1admin password that's generated during installation.
|
|
|
|
- Tweak the BIJ1 specific settings in wp-config.php.
|
|
|
|
|
2022-01-19 08:19:22 +00:00
|
|
|
- configure Polylang: /wp-admin/admin.php?page=mlang\_wizard
|
|
|
|
- setup smtp-settings: /wp-admin/options-general.php?page=swpsmtp\_settings
|
|
|
|
- setup proper site title and slogan: /wp-admin/options-general.php
|
|
|
|
- link menu's: /wp-admin/nav-menus.php
|
|
|
|
- add nieuws page with nieuws items content block
|
|
|
|
- setup permalinks: /wp-admin/options-permalink.php
|
|
|
|
Use "Berichtnaam" as permalink configuration
|
2022-01-19 08:23:21 +00:00
|
|
|
- add a home page and set it up to be used as such: /wp-admin/options-reading.php
|
2022-01-20 12:53:28 +00:00
|
|
|
- setup Ajax Load More plugin
|
|
|
|
/wp-admin/admin.php?page=ajax-load-more#alm-section-1
|
|
|
|
- Select "div" as Container type
|
|
|
|
- Select I want to use my own styles
|
2022-01-19 08:19:22 +00:00
|
|
|
|
2021-12-02 14:52:08 +00:00
|
|
|
If you use this primarily for testing you can run `./cleanup.sh` to remove the
|
|
|
|
Wordpress install (you'll have to wipe the db manually).
|