Visit https://www.survivecorona.how/ for more information.
You will need two subdomains:
- www.survivecorona.how - Contains nothing but static files. PHP is expressly disabled and NGINX treats .php as plain text/html files.
- edit.survivecorona.how - The live Wordpress application, behind an NGINX
basic_auth
wall.
# Edit your /etc/hosts and add two domains to your same localhost
# e.g.,
# 127.0.0.1 www.survivecorona.local live.survivecorona.local
git clone https://github.com/CovidResearch/SurviveCorona.how.git
cd SurviveCorona.how
git submodule init
cp .env.example .env
# Edit .env and change the DB_PASSWORD and REDIS_PASSWORD.
composer install
# Configure your docker containers:
# Choose PHP 7.4, mariadb and redis
php vendor/phpexperts/dockerize/install.php
# Set up the credentials to guard live.survivecorona.local:
./deploy.sh
docker-compose up -d
phpunit --testdox
Theodore R. Smith theodore@phpexperts.pro
GPG Fingerprint: 4BF8 2613 1C34 87AC D28F 2AD8 EB24 A91D D612 5690
CEO: PHP Experts, Inc.
MIT license. Please see the license file for more information.