https://github.com/scholarslab/neatline-omeka-s-docker
https://github.com/scholarslab/neatline-omeka-s-docker
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/scholarslab/neatline-omeka-s-docker
- Owner: scholarslab
- Archived: true
- Created: 2018-04-23T17:27:12.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-26T16:12:20.000Z (about 5 years ago)
- Last Synced: 2024-11-04T05:33:50.914Z (6 months ago)
- Size: 7.81 KB
- Stars: 1
- Watchers: 10
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - scholarslab/neatline-omeka-s-docker - (others)
README
# Docker Compose for Omeka S and Neatline 3
1. Clone this repo.
`git clone https://github.com/scholarslab/neatline-omeka-s-docker.git folderName`
2. 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`
3. Create a `.env` file 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_
```4. Create a `database.ini` file to put the secrets into OmekaS
```
user = "userName"
password = "userPass"
dbname = "databaseName"
host = "omekaS_test_db"
```5. Start up docker
- When using Traefik`docker-compose -f traefik.docker-compose.yml up -d`
- When not using Traefik
`docker-compose up -d`
6. Viewing the site
- When using Traefik
- change your local `/etc/hosts` file to point a domain to your local computer
```
127.0.0.1 testing.neatline.org
```
- Browse to http://testing.neatline.org
- When not using Traefik
- Browse to http://localhost:9000