Configuring IMPS


Configure database settings and IMPS directories in the imps_config.toml file located in the root of your IMPS install.

imps_config.toml

## DATABASE CONNECTION
[DEFAULT]
host = 127.0.0.1 
database = box_db
user = box_user 
password = box_pass

## DIRECTORIES
item_image_dir = /static/images/items/
backup_dir = /var/www/html/static/backups 
help_dir = /var/www/html/static/help/

The Control Panel

The IMPS control panel allows you to see various IMPS settings and to perform some management tasks that don't otherwise fit into the overall IMPS interface.

The control panel contains four tabs:

Boxes Items

Categories

You can add, delete, and modify categories using the Categories button. If you rename a category, all items assigned to that category will be assigned to the renamed category. If you delete a category, items assigned to that category will still be assigned to it, but the category name won't appear in the list of categories.

Locations

You can add, delete, and modify locations using the locations link. If you rename a location, all boxes assigned to that location will be assigned to the renamed location. If you delete a location, items assigned to that location will be assigned to the Unspecified location

Backups

IMPS can backup your items (the tables from the database) and the photos associated with them. The Backup tab provides buttons to create these backups and to download the latest backup. Imps does not delete old versions of these backups.

Cleanup

Show orphaned items

When you delete a box, you can delete all the items in the box from the database, reassign all the items to a new box, or "orphan" the items, which means they have no box assigned to them. While these items will still show in the search, inventory, and category views, this tool provides an easy way to see all these items in one place.Clicking the Show orphaned items button will show a list of all items which are not assigned to a box.

Show unlinked photos

IMPS is designed to remove item photos when items are deleted or to delete the old item photo when a new one is uploaded. However, the control panel contains a tool to check for photos that are not linked to an item and delete them. While rare, this can sometimes occur if there is a database connection problem when editing or deleting an item.

Server Info

This tab shows a read-only view of the IMPS configuration from the imps_config.toml file.