pmelchior / des-exp-checker

Crowdsourced image quality control for the Dark Energy Survey
MIT License
9 stars 2 forks source link

Standalone server install #85

Open kadrlica opened 6 years ago

kadrlica commented 6 years ago

This is a live note to track some experiences setting up a standalone server. I plan to keep editing this issue over the next day or so collecting lessons learned.

  1. I needed to figure out how to get an apache server setup on my Mac. I found this reference to be very helpful.
  2. The above instructions also diagram how to deal with PHP.
  3. Server Side Includes (SSI) needs to be turned on. Some good instructions here. Be sure that SSI is enabled for both .html and .shtml with AddOutputFilter INCLUDES .shtml .html.
  4. Make sure that the database files have permission 777 (o+rwx): chmod 777 .db/*.db. The internet also suggests that the directory that the files reside in also need to be world writeable.