The Shopping-list app is an application that allows users to record and keep track of things they want to shop or buy. It allows them to keeping track of their shopping carts.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You can find the documentation for python here
-
Use this guide.
Activate the virtual environment.
run the command
pip -r install requirements.txt
on the command line
python app.py
Open a browser and access this location.
http://einstein-shoppinglist.herokuapp.com
The shopping-list app provides an interactive Graphical User Interface which is easy to interact with
This code has been tested using three common python test libraries py.test
, unittest
and nosetest
.
# Testing in nosetest
# Navigate to the project root directory
# run the following command
nosetests _tests
# Sample output
.........................................................
----------------------------------------------------------------------
Ran 57 tests in 0.459s
OK
This application complies with the PEP8 convention for Python. To check compliance run the following command in your command line pep8 .
Remember to exclude your virtual environment from the scope if it is in the project directory.
This product is still at the development stage. I strongly discourage deploying it on a production server.
- Flask - An open-source web microframework for python
- pip - Python Dependency Manager
- Bootstrap CSS - User Interface styling
- JQuery - HTML document traversal, manipulation and event handling
I use Semantic Versioning for versioning. For the versions available, see the tags on this repository.
- Einstein Njoroge - You can view my profile and other works on GitHub
This project is licensed under the MIT License - see the LICENSE.md file for details
- Felix Wambiri- Code review
- Hound-ci - css-linting and code review
- Coveralls - Test Coverage checker