parkerbowling / django-app

0 stars 1 forks source link

django-app

How to get started with website

0. Ensure you are in a python virtual environment
1. Install python libraries from requirements.txt.
2. Download PostgreSQL for system.
3. Create .env file and add SECRETKEY, USER, and PASSWORD as it appears in settings.py file.
4. Make sure that USER and PASSWORD matches with the user and password you create for the 
   PostgreSQL database.
5. Also make sure that settings.py NAME for the database matches what the name of the 
   database you created in PostgreSQL.
6. You will probably need to run `python3 manage.py makemigrations` and/or `python3 manage.py migrate` to make sure the server matches the code
    - If you are getting an error that "expenses..." doesn't exist, comment out the helper.py file and rerun the migrate commands
7. run python3 manage.py runserver to run the server, make sure the postgres server is also running

Plan For Website

Phase 3

Phase 2

Phase 1

Feature Wishlist

Random ideas for website

1. What if there was a website that could find the fastest path in a grocery story to find all your items?
    - User would build grocery list for a specific grocery store and a shortest path algo would generate
    - User would also be able to search for a specific item and see its location in the store
2. What if there was a way to find the cheapest items in a grocery store to build the cheapest grocery list?
    - User would choose a location (or mile range) to set the searchable grocery stores
    - User would add items to a grocery list and filter to how many grocery stores they want to build the cheapest list from
        - if one store, build the cheapest list from one store in the area
        - if more than one store, build a list from multiple stores to get the cheapest list