# SECTION 1: DEVELOPMENT WORKFLOW
-The actual LIVE site, visible at libreplanet.org/YEAR, is served from the "stable" branch of the git repository using a git hook. There is also a development branch called "master" which we use to preview edits on the Web. The master branch is served to the Web at http://wiki-dev0.libreplanet.org/YEAR and publicly visible, but not linked to.
+The actual LIVE site, visible at libreplanet.org/YEAR, is served from the "stable" branch of the git repository using a git hook. There is also a development branch called "master" which we use to preview edits on the Web. The master branch **used to** be served to the Web at http://wiki-dev0.libreplanet.org/YEAR and publicly visible, but not linked to.
Full workflow to make, test and deploy an edit.
-----------------
The workflow for this is Edit the Brains page with the schedule, then run a script to convert it into HTML and dump it into your checkout of the repo, then push that change up to the Web like any other edit.
-See instructions at <https://ricketyspace.net/lpschedule-generator> for installing and running the script. The source files are stored in Brains in markdown but with special tags, so that you can edit them without needing to know this whole process. The jinja2 templates are stored in the the Web site's git repo at assets/templates.
+See instructions at <https://ricketyspace.net/lpschedule-generator> for installing and running the script. The source files are stored in Brains in markdown but with special tags, so that you can edit them without needing to know this whole process.
Please crop all photos of speakers too 100x100 px (200x200 px for keynotes) and then upload them to <http://static.fsf.org/nosvn/libreplanet/speaker-pics/>. Then include their URL in the bios page to embed them.
Replace `foo.html` with the desired file name.
+## Using Markdown
+
+Static pages can be edited using markdown by creating a index.mdwn file in the appropriate subdirectory (e.g. ./fun/index.mdwn) and running 'make wikipages'. Note that the .mdwn files should have the ```<!--#include...``` lines in place, everything else being regular markdown. It is a requirement to have the python-markdown package installed to run 'make wikipages'. To add this functionality to new pages, edit the Makefile. Also note that the index.html in those directories would be generated from the mdwn file and should not be edited directly.
+
## Modifying top-right corner
In the `/2019/includes/banner.html` find the `...#top-right-desktop
```
a2enmod include
+a2enmod rewrite
```
If this doesn't work, you may not have Apache installed. Install the
SSILegacyExprParser on
Options +Includes
XBitHack on
- </Directory>
+G </Directory>
ErrorLog /home/owner/libreplanet-static/logs/error.log
CustomLog /home/owner/libreplanet-static/access.log combined
</VirtualHost>
```
a2ensite your-virtual-host
-* Do not need to do this -mdb
```
Replace `your-virtual-host` with the name of virtual host file you made (in this case, libreplanet).
```
service apache2 restart
-* /usr/local/bin/user-apache-restart
-
-If you are mdb, do: user-apache-restart
-
```
*Edit your hosts file*