Versions Compared

Key

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

...

  1. Open the project in PyCharm (or another IDE).

  2. Open the terminal in PyCharm:

    • Go to View > Tool Windows > Terminal.

  3. Navigate to the sic_applications directory:

    Code Block
    cd sic_applications
  4. Start the Redis server using the provided configuration file:

    Code Block
    redis-server conf/redis/redis.conf

If you encounter this error Could not create server TCP listening socket *:6379: bind: Address already in use read through the following collapsable section.

Expand
titleError Problem Solving
Info

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

For Ubuntu/Debian users, 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

If you still can’t kill Redis server, you can use ps aux | grep redis-server command to find the PID (process ID) of the Redis server. And, terminate the process using kill PID

 

For macOS users, the process should be similar; just find the PID of the Redis server and kill the process:

Code Block
lsof -i tcp:6379

And find the *PID in the terminal response, kill the pid shown:

Code Block
kill -9 *Insert PID here

...

Step 2: Run Your MARBEL Agent with Web Pages and Dialogflow

...