Skip to content

This repository is used to present the development of first work in "C115 - Conceitos e Tecnologias para Dispostivos Conectados" subject from INATEL.

Notifications You must be signed in to change notification settings

Joaohsd/client-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

client-server

This repository is used to present the development of first work in "C115 - Conceitos e Tecnologias para Dispostivos Conectados" subject from INATEL.

Pre-requirements

  • Python 3.8+
  • Make
  • Docker

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

Makefile

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

About

This repository is used to present the development of first work in "C115 - Conceitos e Tecnologias para Dispostivos Conectados" subject from INATEL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published