Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# in the `framework` folder:
redis-server conf/redis/redis.conf

...

Info

Troubleshoot (Could not create server TCP listening socket *:6379: bind: Address already in use)

If you encounter the error Could not create server TCP listening socket *:6379: bind: Address already in use., please use the following command to stop the Redis server first

Code Block
sudo systemctl stop redis-server.service

And, if you wish to prevent Redis server from starting automatically at boot, you can run

Code Block
sudo systemctl disable redis-server.service
Expand
titleDocker alternative to start redis (for windows without wsl)

Start it on your laptop in the root framework framework folder (for MacOS and Windows: make sure Docker Desktop is running).

Code Block
languagebash
cd your/path/to/framework
docker compose up redis

This should start print Container framework-redis-1 Created which means Redis is up and running.

Running a local demo

To start a demo, for example to show your computer’s camera output on your screen, simply execute a python script. Some demos are available in the framework/sic_framework/tests folder. Here is a minimal example:

...