This repository showcases FormaServe’s training capabilities and provides a simple TODO application that runs on any platform, including the IBM i.
- Add, update & delete TODO items
- Mark items as completed
- Cross-platform compatibility. Can run on the IBM i Power servers.
Clone this repository to your local machine
git clone https://github.com/FormaServe/python-todo
Before installing dependancies, it is recommended to use virtual environments to install and run this application. See Virtual Environments section if you are unsure to use virtual environments.
pip install bottle
If you do not want to use our version of the database, delete the file todo.db & recreate it using the python below.
python create-db.py
python index.py
Then in an internet browser, open the application at the following URL http://localhost:8080/
As with all python projects, it is recommended to run this application in a virtual environment.
Follow the instructions below to get started.
Use the venv module to create a virtual environment inside the project folder. Run the following command:
python -m venv --system-site-packages .venv
Replace .venv with your preferred name for the virtual environment if you do not want to use our preference.
To activate the virtual environment, use the appropriate command based on your operating system:
.venv\Scripts\activate
source .venv/bin/activate
When you’re done working in the virtual environment, deactivate it:
deactivate
Remember to activate it whenever you work on your project. 😊
If you've found this repository useful and it has helped you in your development journey, please consider showing your support. ❤️
A cup of coffee goes a long way in fueling my late-night coding sessions & your sponsorship can help ensure the longevity and improvement of this project.
You can Buy Me a Coffee ☕ or check out the Sponsorship options available.
Every bit of support is greatly appreciated!
This project is licensed under the MIT License. See the LICENSE file for details.
- FormaServe Systems Ltd - All work - FormaServe
- Andy Youens - FormaServe Systems Ltd 1990 - All rights reserved.
- Nick Youens - FormaServe Systems Ltd 1990 - All rights reserved.
- Jane Youens - FormaServe Systems Ltd 1990 - All rights reserved.