Skip to content

Adding a new requirement

Rudrakshi edited this page Dec 3, 2022 · 2 revisions

Frontend Config

Update package.json file

If you have installed a new dependency, then use this command to add it.

Using npm

npm install <package-name> --save-dev

Using yarn

yarn install <package-name> --save-dev

Backend Config

Update requirements file

If you have installed a new dependency, the pip freeze command lists the third-party packages and versions installed in the environment.

Windows

pip freeze > requirements/local.txt

Linux

pip3 freeze > requirements/local.txt

Update Database

Everytime you change db models, you need to run makemigrations and migrate to update on database.

Windows

py manage.py makemigrations
py manage.py migrate

Linux

python3 manage.py makemigrations
python3 manage.py migrate

Screenshot from 2022-12-03 23-49-00

Getting Started

Tech Architecture

Config for requirements

SIH2022- A Roller Coaster Ride

Clone this wiki locally