Is a flask powered web application that allows users to keep track of their shopping items and also allows a user to share the shopping lists with others, this web application also allows you to mark items that you have already
- Python3 Installation
- Git Installation
- Clone this repo
git clone https://github.com/gr1d99/shopping-list.git
- Change your current directory to
shopping-list
- On your terminal type
git checkout develop
- Create a virtual enviroment
virtualenv --python=python3 env
then activate itsource env/bin/activate
- Install requirements
pip3 install -r requirements.txt
- Generate your SECRET_KEY by running
python manage.py generate_secret
, the command will generate asecret.txt
file that will contain the apps secret key, after running the command, copy the generated key and use it to set enviroment variableSECRET_KEY
so that it will be available to the app configuration. eg.$ export SECRET_KEY=<generated key goes here>DEBUG is set to
True
but you may change it.
- Finally deploy your web app by running the command
python manage.py runserver
The app does not have much functionality. What you can do for now is
- Create an account
- Login
- create/retrieve/update and delete shopping lists through the dashboard.
- create/retrieve/update and delete shopping items.
- add shopping items to a shopping list.
- view created shopping list and its items.
- mark and un-mark shopping items.
All tests are located in the root of the project in a folder named tests
.
Test the project using nose and view coverage report on your terminal
$ nosetests --with-coverage
This app can be deployed on Heroku cloud.
if you do not have any expirience with heroku kindly start here to get some basics
Gideon Kimutai
This project is licensed under the MIT License - see the LICENSE.md file for details
- Andela Kenya
- Boot-camp LFAs
- The A-TEAM members(both week one and week two team)
- All candidates.