This is the admin service for the project. It is a RESTful service to manage the products and categories.:
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You need to have installed:
- Python 3.9
- pip
- virtualenv
- MySQL
- Docker
- Docker-compose
- rabbitmq
-
First, you need to clone the repository:
git clone
-
Then, you need to create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
source venv/bin/activate
-
Run
Docker-compose build
-
Run
Docker-compose up
-
Open another terminal and run
docker-compose exec db bash
-
In the container, run
mysql -u root -p
-
Create the database
CREATE DATABASE admin;