Skip to content

Repository files navigation

CheckSum Portal

Requirements

  • Python 3.10
  • Django 4
  • NodeJs 16 or above
  • Yarn or NPM
  • Virtualenv

Configuration

  1. Clone the repo
git clone https://github.com/MuhammadSaim/Checksum-Portal.git checksum-portal
  1. Step into folder
cd checksum-portal
  1. Create virtual environment
python -m venv venv
  1. Activate the venv

For Linux / Mac OS

source venv/bin/activate

For Windows

\path\to\env\Scripts\activate
  1. Install the dependencies
pip install -r requirements.txt
  1. Install the frontend dependencies

If you have yarn

yarn install && yarn dev

If you have NPM

npm install && npm run dev
  1. Copy the .env.example file and make a new file .env

  2. configure the MySQL DB with the application in .env file

DATABASE_HOST=YOUR_DB_HOST
DATABASE_NAME=YOUR_DB_NAME
DATABASE_USERNAME=YOUR_DB_USERNAME
DATABASE_PASSWORD=YOUR_DB_PASSWORD
DATABASE_PORT=YOUR_DB_PORT
  1. Now run the migration to create the DB structures
python manage.py migrate
  1. After that create a supper user for the application
python manage.py createsuperuser

and fill the required fields.

  1. Run the application and you are good to go
python manage.py runserver

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages