Skip to content

mattitest/grammm-cui

Repository files navigation

The Console User Interface, (CUI)

The Console User Interface is a text based interface for managing the grammm basic configurations.

1 ) Installing

To get the CUI running you have to install the Python Urwid library, the Urwid GIT Project and the CUI source itself. We assume in this guide that you have already installed:

  • gcc
  • python3
  • python3-devel

These will be used for the build and install process.

1.1) Installing the Urwid Module for Python

To get the newest version of urwid do not use zypper! Instead use git:

... bash

cd /opt/
git clone https://github.com/urwid/urwid.git

1.2) Installing the GIT resources (Optional)

For further developing it is recommended to install also the git branch of the urwid project.

... bash

git clone ...

1.3) Copy the source files

Use also git to fetch the current cui version:

... bash

git clone https://vcs.grammm.com/grammm/cui.git

In the cui folder you can find the requirements.txt and can install it via

... bash

pip3 install -r requirements.txt

2 ) Configuration

The only hing you have to be sure is that the path is set correct to:

... bash

export PYTHONPATH="$PYTHONPATH:/opt/urwid:<to_where_the_cui.py_is_lying>"

or let the install script copy the cui.sh to your path:

... bash

./install.sh

About

Console User Interface based on Urwid.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published