From 6e11c4cd5f4f843882f9624cb0fe5333922cd842 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Thu, 28 Jun 2018 16:10:44 -0400 Subject: [PATCH] update local dev instructions --- 2018/README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/2018/README.md b/2018/README.md index 9055440a..f0246c70 100644 --- a/2018/README.md +++ b/2018/README.md @@ -121,10 +121,10 @@ Modifying Apache's configuration files and running its executables typically requires root access. So, you will most likely need to run the commands below as the root user using `sudo`. -*Enable server-side include module* +*Enable required modules* ``` -a2enmod include +a2enmod include rewrite ``` If this doesn't work, you may not have Apache installed. Install the @@ -132,7 +132,7 @@ package apache2 from your package manager. *Create virtual host* -Create a new file called libreplanet (libreplanet.conf for Apache 2.4) in `/etc/apache2/sites-available` with the following contents: +Create a new file called libreplanet.conf in `/etc/apache2/sites-available` with the following contents: ``` @@ -159,10 +159,17 @@ RewriteEngine on Replace all instances of `/path-to-site` and with the full path to the root directory of your local git repository. +* Create the logs directory, as a normal user * +``` +mkdir /path-to-site/logs +chmod 777 /path-to-site/logs +``` + + *Enable virtual host* ``` -a2ensite your-virtual-host +a2ensite libreplanet * Do not need to do on mdb system ``` -- 2.25.1