psu-libraries / requests

This will be the application for all online library request systems.
2 stars 0 forks source link

Requests

Development

buid and run the site

docker-compose up --build

Shut it down

docker-compose down

extensions

php extensions are installed via the https://github.com/mlocati/docker-php-extension-installer project.

Add the extension you want into the dockerfile, and then re-run docker-compose up --build

i.e

...
RUN docker-php-ext-install \
    mysqli \
    ldap

run a shell in the container

docker-compose exec php bash

connect to the database

host: localhost port: 3306 username: root password: request (or the value of MYSQL_ROOT_PASSWORD)