Warning: The configuration files were up to date the last time they were edited, but always make sure to double check what the most up to date versions of the software components are, or make certain to install mutually compatible versions.
For example, the dockerfile should have up to date version numbers for WordPress and PHP.
- The first line will look like:
FROM wordpress:5.4-php7.4-apache
- Check https://github.com/DiscipleTools/disciple-tools-theme/releases/latest for which version of WordPress disciple-tools-theme has been tested with.>
- Run
docker-compose up -d
from the project root directory (ornpm run docker-start
).- The first time this is run, it will need to download all of the machine images, so it may take a little while.
- There will be some warning messages that can be ignored, unless Docker cannot bring the WordPress and Mysql containers up.
- You should be able to access the site via https://local.disciple.tools (if you add the needed hosts file mapping), https://localhost:44300 or http://localhost:8000 For Windows: You will need to add a “security exception” in your browser from its warning dialog (depending on browser). Warning: When you configure WordPress from “https://localhost:44300” or “http://localhost:8000” you will have to continue to use that address or reconfigure it from the …/wp-admin/options-general.php settings page to switch.
- Step through the WordPress installation process.
- Language:
- Site Title:
- Username:
- Password:
- Your Email:
- Press “Install WordPress”
Note: If you cannot access DT’s home page: https://localhost:44300/contacts or other pages try this:
- Login to wp-admin and go to
Settings > Permalinks. You don’t need to change anything, just click Save at the bottom.(Source: https://developers.disciple.tools/ section: Errors on New Installation)