Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.38 KB

README.md

File metadata and controls

55 lines (38 loc) · 1.38 KB

fungataua-crm-backend

CRM project developed using DRF. CRM containes various permissions for users, dynamic client add/edit, category add/edit etc.

Setup

STEP-1 : Install PostgreSQl with pgAdmin

How to install PostgreSQL?

Download postgreSQL from following link and install

STEP-2 : Set Up Database

Open PgAdmin and Create a database with name Fungataua in PgAdmin.

STEP-3 : Clone this repository

STEP-4 : Creating Virtual environment

Use following command to set up virtual environment

py -m venv <env-name>

Activate environment

<env-name>\Scripts\activate.bat

STEP-5 Install requirements.txt

pip install -r requirements.txt

STEP-6 : Go to fungataua/settings.py

Replace database_name, database_user and database_password in following code
    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'NAME': 'your-database-name',
        'USER': 'your-user-name',
        'PASSWORD': 'your-password',
        'HOST': 'localhost'
    }
} 

STEP-7 : Run following commands

python manage.py makemigrations

python manage.py migrate

python manage.py runserver

Hurrah your website is running

Set up superuser

Use following command

python manage.py createsuperuser

Thank you