Skip to content

A website to give timely information about the Covid-19 Coronavirus.

License

Notifications You must be signed in to change notification settings

CovidResearch/SurviveCorona.how

Repository files navigation

The SurviveCorona.how Project

TravisCI Maintainability Test Coverage

Visit https://www.survivecorona.how/ for more information.

Deploying:

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

Testing

phpunit --testdox

Contributors

Theodore R. Smith theodore@phpexperts.pro
GPG Fingerprint: 4BF8 2613 1C34 87AC D28F 2AD8 EB24 A91D D612 5690
CEO: PHP Experts, Inc.

image

License

MIT license. Please see the license file for more information.

About

A website to give timely information about the Covid-19 Coronavirus.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published