multIMedia interface: Presentation – Analysis – CommenT
50K+
multIMedia interface: Presentation – Analysis – CommenT
A Laravel 12 app with react components.
A working Docker installation is mandatory.
Please make sure to copy & rename the example.env file to .env.
cp docker/example.env docker/.env
You can replace the values if needed, but the default ones should work for local development.
Please also make sure to copy & rename the docker-compose.override.yml.dev file to docker-compose.override.yml.
cp docker-compose.override.yml.dev docker-compose.override.yml
You can replace the values if needed, but the default ones should work for local development.
Edit hosts file to point impact.lan to your docker host.
Build & run all the containers for this project.
docker compose up (add -d if you want to run in the background and silence the logs)
The first time you run the application you'll need to populate your database with initial data.
docker exec impact-app php artisan db:seed
If you want completely wipe your database and populate it with fresh data, you can use the following command.
docker exec impact-app php artisan migrate:fresh --seed
Assets are compiled when the container is built, but if you want to recompile them, you can use the following command.
docker exec impact-app npm run dev
or if you want to watch for changes.
docker exec impact-app npm run watch
To access the main application please use the following link.
To access the debug tool please use the following link.
http://impact.lan:8787/telescope
To access mails please use the following link.
Or to get the messages in JSON format.
http://impact.lan:8025/api/v2/messages
To access the database please use the following credentials.
All PHP files will be inspected during CI for code style issues. If you want to make a dry run beforehand, use the following command.
docker exec impact-app ./vendor/bin/pint --test
And if you want to automatically fix the issues.
docker exec impact-app ./vendor/bin/pint
To run the full suite:
docker exec -it impact-app php artisan test
You need to install Chrome Driver first:
docker exec -it impact-app php artisan dusk:chrome-driver
To run the full suite:
docker exec -it impact-app php artisan dusk --env=testing
To run a specific class:
docker exec -it impact-app php artisan dusk tests/Browser/MyTest.php --env=testing
To view the integration tests running in the browser, go to http://impact.lan:4444, click on Sessions, you should see a line corresponding to the running tests and a camera icon next to it, click on it to open a VNC viewer ("secret" as password).
Copy and rename the following environment files.
cp docker/example.env docker/.env
cp site/.env.example site/.env
You should replace the values since the default ones are not ready for production.
To authenticate with Shibboleth, don't forget to uncomment and set the SHIB_HOSTNAME and SHIB_CONTACT variables in site/.env, otherwise you only be abel to use the local authentication.
Please also make sure to copy & rename the docker-compose.override.yml.prod file to docker-compose.override.yml.
cp docker-compose.override.yml.prod docker-compose.override.yml
You can replace the values if needed, but the default ones should work for production.
Build & run all the containers for this project.
docker compose up -d
Use a reverse proxy configuration to map the url to port 8787.
GitHub Actions workflows generate Docker image tags based on these events:
development: {service}-dev-latest, {service}-stage-latest, {service}-stage-<sha>-<timestamp> (immutable)master: {service}-latest{service}-vX.Y.Z (immutable)Weekly cron jobs:
{service}-stage-<sha>-<timestamp> (immutable){service}-vX.Y.Z-<sha>-<timestamp> (immutable)All the immutable tags are committed to the k8s repository.
The Helm charts for this project are available at https://github.com/unil-lettres/k8s, in the impact directory.
Content type
Image
Digest
sha256:063d17709…
Size
571.4 MB
Last updated
6 days ago
docker pull unillett/impact:app-stage-4492ff3-20260712232644Pulls:
1,306
Last week