Skip to content

Latest commit

 

History

History
110 lines (81 loc) · 3.33 KB

README.md

File metadata and controls

110 lines (81 loc) · 3.33 KB

                   

Research Portal Backend

Getting Started

Installation:

For Windows

Add the following to requirements.txt (only for windows)

pip install python-magic-bin

For Linux/Debian

sudo apt-get install libmagic1

Install virtualenvironment (if not already)

pip install virtualenv
virtualenv myenv

Activate virtualenv

myenv\scripts\activate

PS : Linux Users follow different guidelines For further details refer https://www.geeksforgeeks.org/creating-python-virtual-environment-windows-linux/

Django Installation ( Developer Mode )

pip install -r requirements.txt
python local.py makemigrations
python local.py migrate
python local.py runserver

Setup Guidelines:

  • After sucessfull installation create a .env in the directory where settings.py is located following the structure of .env.example file

Contribution Guidelines

Before making a migration run

python local.py makemigrations --dry-run --verbosity 3

to make sure if it breaks any thing

  • Fork this Repo
  • Create a branch in the forked repo
git checkout -b develop
  • Make Changes
  • Push to your repo & make a pull request

PS 3 : Instructions to update git forked repo Medium


Contacts


Website :     https://www.ieeesbnitdgp.com/
Github :       https://github.com/ieeesb-nitdgp


Contributors


Sayan Mondal

Bishwajit Ghosh

Durbar Chakrabarty

Sreemoyee Sadhukhan

Naveen Leo

For any suggestions, create an issue or start a discussion in the discussion tab.