// readme

GC Articles

Demo

GC Articles Live Demo (MVP)

Local dev

Docker-compose and VS Code Remote Container environment featuring:

  • apache (reverse-proxy to wordpress/php-fpm)
  • mariadb (instead of mysql)
  • wordpress (wordpress/php-fpm)
  • wp-cli & composer (devcontainer)
  • phpmyadmin (db admin)

Requirements

Including installation instructions on a Mac.

Config

Clone the repo and cd to the project directory.

git clone git@github.com:cds-snc/gc-articles.git
cd gc-articles

Copy the .env.example file to .env and customize as needed.

cp .env.example .env

First thing youโ€™ll want to add is an ENCRYPTION_KEY which will be used for encrypting sensitive information in the database such as the Notify API keys.

The encryption key is a base64 encoded random string. There is aโ€ฆ