This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
#!/bin/sh | ||
|
||
# Set GLPI_ENVIRONMENT_TYPE to testing inside the container | ||
docker exec --user www-data glpi /bin/bash -c "export GLPI_ENVIRONMENT_TYPE=testing" | ||
|
||
# install glpi database | ||
docker exec --user www-data glpi /bin/bash -c "cd /var/www/glpi && php bin/console db:install -H db -u glpi -p glpi -d glpi -n -r" | ||
docker exec --user www-data glpi /bin/bash -c "cd /var/www/glpi && GLPI_ENVIRONMENT_TYPE=testing php bin/console db:install -H db -u glpi -p glpi -d glpi -n -r" | ||
|
||
# install our plugin | ||
docker exec --user www-data glpi /bin/bash -c "cd /var/www/glpi && php bin/console plugin:install -u glpi jamf" | ||
docker exec --user www-data glpi /bin/bash -c "cd /var/www/glpi && php bin/console plugin:activate jamf" | ||
docker exec --user www-data glpi /bin/bash -c "cd /var/www/glpi && GLPI_ENVIRONMENT_TYPE=testing php bin/console plugin:install -u glpi jamf" | ||
docker exec --user www-data glpi /bin/bash -c "cd /var/www/glpi && GLPI_ENVIRONMENT_TYPE=testing php bin/console plugin:activate jamf" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters