Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
include ../../PluginsMakefile.mk

install-ext: ## Install PHP extensions required by this plugin (sqlsrv). Re-run after any container rebuild.
$(COMPOSE) exec --user root app bash -c "\
apt-get update -yq \
&& apt-get install -yq --no-install-recommends unixodbc-dev \
&& rm -rf /var/lib/apt/lists/* \
&& pecl install sqlsrv \
&& docker-php-ext-enable sqlsrv"
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ Plugin to synchronize computers from SCCM (version 1802) to GLPI.
![GLPISCCMPluginSchema](screenshots/schema.png "GLPISCCMPluginSchema")


## Development setup

This plugin requires the `sqlsrv` PHP extension (PECL), which is not included in the base GLPI development image.

After starting the containers (`make` from the GLPI root), install it once:

```bash
make install-ext
```

Re-run this command after any container rebuild.

## Documentation

We maintain a detailed documentation here -> [Documentation](https://glpi-plugins.readthedocs.io/en/latest/sccm/index.html)
Expand Down
Loading