/markdownreader

Symfony project to view markdown files

Primary LanguagePHPMIT LicenseMIT

MarkdownReader

Requirements

Installation

git clone https://github.com/linnit/markdownreader.git
cd markdownreader
composer install

Configure environment variables

cp .env .env.local
chmod 600 .env.local

Edit .env.local and update markdown directory

Clone the repository

./bin/console app:git-clone

Cron

Cron is used to keep the markdown repository up-to-date

Replace <path-to-markdownreader> with the full location of this repository

*/15 * * * *    <path-to-markdownreader>/bin/console app:git-pull

Docker

In docker/.env update GIT_NOTES_REPOSITORY, VIRTUAL_HOST, and LETSENCRYPT_HOST

cd docker
docker-compose up