Skip to content

mlibrary/call-number-mapping

Repository files navigation

Check example.env for environment variables to set.

docker-compose build

# Start the webserver and database server
docker-compose up -d

# Composer install for the development volume
docker-compose run --rm --user "$(id -u):$(id -g)" web bash -c 'cd /var/www && composer install'

# Optional:  Load data
docker-compose exec -T db bash -c 'mariadb -u"$MARIADB_USER" -p"$MARIADB_PASSWORD" "$MARIADB_DATABASE"' < data.sql