Skip to content

PrenSJ2/TowFood-PWA

Repository files navigation

Django-Tailwind Food Inventory System (TowFood)

This project is my final project for the School of Computing at the University of Buckingham.

Environment Setup

To run this project, you will need to create a python virtual environment inside your project directory:

python -m venv env

start the environment:

source env/bin/activate

next install all project requirements:

pip install -r requirements.txt

Install dependencies

navigate to the theme/static_src

cd theme/static_src
npm install

Run Locally

Inside of your newly created environment run:

python manage.py runserver

And or If you have made changes to the styling you will need to open another terminal inside of the environment and run:

python manage.py tailwind start

Production

To create a production build of your theme, run:

python manage.py tailwind build

Documentation

Project Report

Deployment to AWS Report

Database

You can either use SQLite or Postgres.

I would recommend Postgres if you wish to deploy to AWS.

Demo

Hosted with Postgresql on AWS elasticbeanstalk

http://towfood2-env.eba-hriwjts6.eu-west-2.elasticbeanstalk.com/

User Interface:

User Interface Performing a Collection (Stock In): Performing a Collection (Stock In) Performing a Pickup (Stock Out): Performing a Pickup (Stock Out) Report Generation: Report Generation

Useful Resources:

Acknowledgements

Author