Skip to content

User Interface

Trevor Spreadbury edited this page Apr 20, 2021 · 4 revisions

Requirements

Usage

To use the UI, open a command line interpreter (bash, zsh, Windows PowerShell, etc) and issue the following command:

$ exsclaim view

Use this command to run the User Interface. Optional flags include:

  • configuration (-c): Path to an INI configuration file (example -- you may need to add a password to postgres user or desire to change name and password of user under exsclaim heading), containing username and password for database
  • bind (-b): If included, will make supplied configuration file the new default configuration file
  • initialize (-i): If included, will try to create database and user included in configuration file

For the first time running on an installation of exsclaim, you should use:

$ exsclaim view -c /path/to/configuration.ini -bi

and for successive runs:

$ exsclaim view

Then navigate to your preferred web browser and go to http://127.0.0.1:8000/

Screenshot of EXSCLAIM user interface. Search form on left of screen and grid of image results on the right.

Troubleshooting

If you get an error like django.db.utils.ProgrammingError: permission denied for relation django_migrations or psycopg2.OperationalError: fe_sendauth: no password supplied, your default postgres user probably requires a password. Create a file like database.ini with the correct information. Now try:

$ exsclaim view --configuration /path/to/your_configuration.ini -bi