brew install httpd
brew install [email protected]
brew install php
Download Omeka S 2.1.2, extract the contents of the zip file.
In a text editor open /usr/local/etc/httpd/httpd.conf
and make the following changes:
Document root:
DocumentRoot "/usr/local/var/www" -> DocumentRoot "/path/to/omeka-s"
<Directory "/usr/local/var/www"> -> <Directory "/path/to/omeka-s">
Inside the previously edited <Directory "/path/to/omeka-s">
:
AllowOverride None ->️ AllowOverride All
Uncomment:
LoadModule rewrite_module lib/httpd/modules/mod_rewrite.so
Permissions:
User _www -> User <your-user-name>
Group _www -> Group staff
Restart Apache
brew services restart httpd
Navigate to http://localhost:8080
to verify the installation was successful.
ln -s /path/to/neatline-omeka-s /path/to/omeka-s/modules/Neatline
Note: This will need to be done each time Omeka S is upgraded.
See documentation in neatline-3 repo for getting the Neatline front end up and running.
To package the module as a zip file, first see front-end instructions for deploying the SPA. Next, from the /path/to/neatline-omeka-s
directory, run:
zip -r Neatline.zip .
Follow the Omeka-S instructions for Installing a Module.