It's recommended to use a virtual environment to isolate project dependencies. Follow these steps:
On macOS and Linux:
python -m venv env
source env/bin/activate
On Windows (Command Prompt):
python -m venv env
.\env\Scripts\activate
pip install --extra-index-url https://{username}:{password}@sdk.uniscale.com/api/packages/{organisation}/pypi/simple -r requirements.txt
This command will install all the required dependencies for the program. Replace {username}
, {password}
and {organisation}
with information
from Demo company
.
Here's how you can run the program:
Start the services:
python account.py
python messages.py
These will run each service on their own servers.
Send backend action request to /api/service-to-module/{featureId}
. Port 5298 for account service and port 5192 for messages.