-
Clone this repo.
git clone https://github.com/scholarslab/neatline-omeka-s-docker.git folderName -
Initialize submodules (get Neatline stuff)
git submodule update --init --recursive- or if you need to update the contents of the submodules
git submodule foreach --recursive git pull origin master -
Create a
.envfile for the secrets.MYSQL_ROOT_PASSWORD=SuperSecretRootPassword MYSQL_DATABASE=databaseName MYSQL_USER=userName MYSQL_PASSWORD=userPass OMEKA_DB_HOST=omekaS_test_db:3306 OMEKA_TABLE_PREFIX=prefix_ -
Create a
database.inifile to put the secrets into OmekaSuser = "userName" password = "userPass" dbname = "databaseName" host = "omekaS_test_db" -
Start up docker
-
When using Traefik
docker-compose -f traefik.docker-compose.yml up -d -
When not using Traefik
docker-compose up -d
- Viewing the site
- When using Traefik
- change your local
/etc/hostsfile to point a domain to your local computer127.0.0.1 testing.neatline.org - Browse to http://testing.neatline.org
- change your local
- When not using Traefik
- Browse to http://localhost:9000