This repository is used to present the development of first work in "C115 - Conceitos e Tecnologias para Dispostivos Conectados" subject from INATEL.
- Python 3.8+
- Make
- Docker
In order to start the containers of mongo application and mongo-express application run the command above. Maybe, it is necessary to execute as sudo if your user is not in the docker group.
docker compose -f docker/docker-compose.yml up
For each client and server, in order to start project run the command below. This command will create a new virtual environment with all required modules used in this project.
make start
If you do not have make installed, you can use (for Linux environment):
chmod +x scripts/start.sh
./scripts/start.sh
In order to run this project, after started the virtual environment that contains all required external dependencies, just use make:
- Running Server
make runServer
- Running Client
make runClient
If you do not have make installed, you can use (for Linux environment):
- Running Server
python3 src/server/server.py
- Running Client
python3 src/client/client.py