How to run the sample application
- Launch an Ubuntu AWS EC2 instance with inbound & outbound traffic wide open on all ports
- Get the code on the EC2 instance
git clone https://github.com/droonee/sample-microservices-app.git
- Get into the directory with
cd sample-microservices-app
- Check that Python 3.X is installed on your machine
python3 -V
- should be Python 3.10.X - Need to update the EC2 instance before installing Python packages
sudo apt update
apt list --upgradable
- Install pip
sudo apt install pythong3-pip
- Check that pip is installed
pip -V
- Install the dependencies
pip install -r requirements.txt
- Run the sample microservices app
python3 run.py