-
Notifications
You must be signed in to change notification settings - Fork 8
User Interface
Trevor Spreadbury edited this page Apr 20, 2021
·
4 revisions
- To use the UI, you must have PostgreSQL installed. To download, check the official instructions.
- You must also have EXSCLAIM installed.
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/
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