- Get the codebase in your development machine by executing
git clone https://github.com/h4xr/todo todo
- Now, get into the todo directory that was created due to the above step by executing
cd <path_to_directory>
- The next step is to setup a virtual environment for the project since it will help us in keeping our dependencies isolated from the rest of the system. To create virtual environment, we can execute the following command
virtualenv venv
. This will create a virtual environment named venv inside the project folder. - The next step is to activate the virtual environment. For this, execute,
source venv/bin/activate
- Next, we need to get the required dependencies in our system for running the example. The dependencies are listed inside requirements.txt. The pip tool can help you setup the required dependencies for the same. Execute the following command to setup the dependencies:
pip install -r requirements.txt
- At this point of time, we have all the required dependencies setup in the system. Its time to run our microservices. It can be achieved by executing
python run.py
- You can verify whether the services are running properly or not by visiting
http://localhost:5000
-
Notifications
You must be signed in to change notification settings - Fork 0
wzaremba/todo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A Super Simple Microservices Example application
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%