SP2024-CSC289 Group project (group 2) at Wake Technical Community College
- Daniel Stanton
- Matthew Wilamowski
- Stefan Slaczka
- Tanner Plishka
- Taylor Sanderson
First, clone the repo or otherwise download the project files.
You will need Python 3.10 or later to run this project.
In the root folder of the project there will be a batch file named Bombastic Bookstore Install.bat
.
Simply run this file, and it will install a virtual environment and all the required dependencies, and then will start the application.
If you wish to stop the server from running, close the command line window that the batch file opened.
If you want to modify the project you will want to install it via PyCharm. First, clone/download the git repo to a folder on your computer. Where this goes is up to you. Then, open PyCharm and click File -> New Project in the upper left.
On the next screen you have to change several settings.
Change the location at the top to your new folder with the project files in it
Select "New environment using Virtualenv
", and select a location for this.
I suggest a sub folder to the rest of the project titled .venv
as this is included in the gitignore already.
Base interpreter should be the latest version of Python you have.
Minimum 3.10
.
Do not inherit global packages.
Making available to all projects is up to you, I suggest no.
Do not create a welcome script.
Click create.
Next you will be presented with this prompt:
Click Create from Existing Sources.
You now have the PyCharm project created. There is one more step before you can run the application.
Go to the PyCharm project Terminal in the lower left of the screen:
Input the following command: pip install -r requirements.txt
You are now ready to run the application.
To run the web app, type flask run
into the PyCharm Terminal when it is at the root project folder and connect to the localhost ip it provides in it's output with your web browser.
To stop the program, press ctrl-C in the same terminal.
For testing purposes we have made several users.
The admin user's login is: admin and their password is: Capstone
There is also a regular user login login: test password: test
You can also freely register new regular users as you wish.
-
This button is available on every book. When pressed, it adds the book to the cart and redirects the user to the cart page.
-
Landing page featuring highlights of books. Users can navigate to the Display Page by pressing the "View All" button.