/IMD0094-FactorialCalculator

A factorial calculator using redis as cache for UFRN IMD class IMD0094: Database.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Factorial Calculator

A factorial calculator using redis as cache.

Installation

System requirements

gafes has the following system requirements:

Installing

Please install all dependencies manually with:

curl https://raw.githubusercontent.com/anunciado/IMD0094-FactorialCalculator/master/requirements.txt | xargs -n 1 -L 1 pip install

For redis, i suggest the use of Docker.

Running

There are two ways to run the program:

  • Compile the IDE (PyCharm - Python IDE):
  1. Just open the IDE
  2. Import the project folder as a Project
  3. Select Run/Debug Configurations and add the following parameters:
-a <adress> -p <port>

An example would be:

-a localhost -p 9090
  1. Choose Run calculator on the context menu.
  2. From this it only interacts with the system.
  • Compile by terminal:
  1. Enter the src folder and run the following command:
python main.py -a <adress> -p <port>

An example would be:

python main.py -a localhost -p 9090
  1. From this it only interacts with the system.

Built With

  • Atom - A text editor used

Authors

Developers:

Project Advisor:

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT - see the LICENSE file for details

Contributing

Feel free to fork the repository, add your changes and give back by issuing a pull request.