Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/el634dev/grocery-store-part-2
https://github.com/el634dev/grocery-store-part-2
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/el634dev/grocery-store-part-2
- Owner: el634dev
- Created: 2024-02-23T07:30:58.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-04-17T02:47:21.000Z (9 months ago)
- Last Synced: 2024-04-17T08:06:13.823Z (9 months ago)
- Language: Python
- Size: 533 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Homework 3: Grocery Store
_For instructions on how to complete this assignment, see [here](https://github.com/Tech-at-DU/ACS-1220-Authentication-and-Associations/blob/master/Assignments/grocery-store-part-2.md)._
## Setup
Clone this repository to your computer.
**Take a look at the code** - it looks a bit different than what you're used to. Namely, the code is now separated out into several files rather than being written in a single `app.py` file. Since we're now writing model and form code as well as route code, this will help us to maintain some structure and separation.
**To run the code**, navigate to the project folder and run the following to create a virtual environment and install the required packages:
```
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```Then rename the `.env.example` file as `.env`:
```
cp .env.example .env
```Then you can run the server:
```
python app.py
```