Skip to content

Latest commit

 

History

87 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InterIIT Backend

Follow these steps to setup the environment:

  1. Clone this repository
  2. Install pip, virtualenv and postgresql

sudo apt-get install python-pip postgresql-contrib postgresql-client-common sudo pip install virtualenv

  1. create virtualenv

example virtualenv virenv

  1. activate virtualenv

source virenv/bin/activate

  1. install requirements from requirements.txt file

cd interiit_project pip install -r requirements.txt

  1. configure postgresql

sudo su - postgres

psql

create database interiitdb;

create user interiituser with password 'interiituser1234';

grant all on database interiitdb to interiituser;

\q

exit

  1. create migrations for the database and the migrate

python manage.py makemigrations interiit_app

python manage.py migrate

  1. Test your server:

python manage.py runserver

Open browser and check the address

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages