https://github.com/emingenc/even_glasses_redis_control
even_glasses redis control pub sub
https://github.com/emingenc/even_glasses_redis_control
Last synced: 11 months ago
JSON representation
even_glasses redis control pub sub
- Host: GitHub
- URL: https://github.com/emingenc/even_glasses_redis_control
- Owner: emingenc
- License: gpl-3.0
- Created: 2024-11-23T10:04:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-01T06:56:12.000Z (over 1 year ago)
- Last Synced: 2024-12-01T07:29:50.878Z (over 1 year ago)
- Language: Jupyter Notebook
- Size: 32.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Glasses PubSub System
## Prerequisites
- **Docker** installed
- **Python 3.12** with `pyenv` or similar.
- **Redis**.
- **Visual Studio Code**.
## Setup
1. **Clone the Repository**
```bash
git clone https://github.com/emingenc/even_glasses_redis_control.git
cd even_glasses_redis_control
```
2. **Install Dependencies**
```bash
pip install -r requirements.txt
```
## Running the System
### 1. Start Redis Server
Open a terminal and run:
```bash
docker run --name g1-redis-server -p 6379:6379 -d redis
```
### 2. Run glasses_pubsub.py
Open a terminal and run:
```bash
python glasses_pubsub.py
```
### 3. Run notification_receiver.py
Open a terminal and run:
```bash
python notification_receiver.py
```
### 4. Test with test_command_sender.ipynb
Open the Jupyter Notebook and run the cells.