From: Ian Kelling Date: Thu, 28 Jun 2018 17:04:15 +0000 (-0400) Subject: update local dev instructions X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5370ce934c48de5945a14ba01165d0fa29e84393;p=libreplanet-static.git update local dev instructions --- diff --git a/.gitignore b/.gitignore index d1b78f87..5c9e2d82 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ *# .#* *.log +/logs/ \ No newline at end of file diff --git a/2018/README.md b/2018/README.md index c78c5aa8..6b1667ab 100644 --- a/2018/README.md +++ b/2018/README.md @@ -139,8 +139,8 @@ Create a new file called libreplanet (libreplanet.conf for Apache 2.4) in `/etc/ RewriteEngine on ServerName local-dev.libreplanet.org ServerAdmin webmaster@localhost - DocumentRoot /local-path/path-to-site - + DocumentRoot /path-to-site + Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted @@ -151,19 +151,19 @@ RewriteEngine on Options +Includes XBitHack on - ErrorLog /home/owner/libreplanet-static/logs/error.log - CustomLog /home/owner/libreplanet-static/access.log combined + ErrorLog /path-to-site/logs/error.log + CustomLog /path-to-site/logs/access.log combined ``` -Replace all instances of `/path/to/libreplanet-static` with the full path to the root directory of your local +Replace all instances of `/path-to-site` and with the full path to the root directory of your local git repository. *Enable virtual host* ``` a2ensite your-virtual-host -* Do not need to do this -mdb +* Do not need to do on mdb system ``` Replace `your-virtual-host` with the name of virtual host file you made (in this case, libreplanet). @@ -180,15 +180,13 @@ If you are mdb, do: user-apache-restart *Edit your hosts file* -Edit your system's `/etc/hosts` file and add the following to the bottom: +Edit your system's `/etc/hosts` file and add to the line starting with +127.0.0.1: `local-dev.libreplanet.org` -``` -127.0.0.1 lp2018.libreplanet.org -``` *Test* -Visit in your web browser. If +Visit in your web browser. If everything is configured properly, you will see the LibrePlanet 2018 site, complete with header, sidebar, and footer.