Skip to content

RishabhSinha02/SavePlate

Repository files navigation

SavePlate

Save and Donate Food

Built with ❤️ for RUBIX'23 hackathon.

Team Name - GoCode

Team Members :

Tech Stack

  • Frontend

    HTML CSS JavaScript JQuery Bootstrap
  • Server

    Django Django Python

👇 Prerequisites

Before installation, please make sure you have already installed the following tools:

🛠️ Installation

  1. Clone SavePlate
  git clone https://github.com/RishabhSinha02/SavePlate
  1. Move into the project
  cd my-project/
  1. Create environment and activate it.
  # install environment package
  pip install virtualenv

  # create environment
  virtualenv virtualenv_name

  # activate virtual environment
  # Windows
  venv\Scripts\activate
  # Linux
  source venv/bin/activate
  # Mac os
  source venv/bin/activate
  1. Install packages.
pip install -r requirements.txt
  1. To connect to PostgresSQL database rename .env.sample to .env file inside project directory and add the below variables in it.
DB_NAME= db_name
DB_USER= db_username
DB_PASSWORD= db_password
DB_HOST= db_host
DB_PORT= db_port
  1. Run Django app.
# runserver
python manage.py runserver
  1. Apply database migrations
# migrate changes
python manage.py makemigrations
python manage.py migrate