- PHP 7.2+
- and the usual Symfony application requirements.
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 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
In docker/.env
update GIT_NOTES_REPOSITORY
, VIRTUAL_HOST
, and LETSENCRYPT_HOST
cd docker
docker-compose up