Giter Club home page Giter Club logo

genz's Introduction

Install bootstrap

  • pip install django-bootstrap-v5

GenZ Project

This project is a Django application with Celery for background task processing and Redis as the message broker.

Requirements

  • Python 3.9
  • Django 4.2.13
  • Celery 5.4.0
  • Redis
  • Other dependencies as listed in Requirements.txt

Installation

macOS

  1. Install Homebrew:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  2. Install Redis:

    brew install redis
    brew services start redis
  3. Clone the repository and navigate to the project directory:

    git clone <repository-url>
    cd <project-directory>
  4. Create and activate a virtual environment:

    python3 -m venv .venv
    source .venv/bin/activate
  5. Install Python dependencies:

    pip install -r Requirements.txt
  6. Run database migrations:

    python manage.py migrate
  7. Start the Django development server:

    python manage.py runserver
  8. Start Celery worker:

    celery -A GenZ worker -l info

Linux

  1. Install Redis:

    sudo apt update
    sudo apt install redis-server
    sudo systemctl enable redis-server.service
    sudo systemctl start redis-server.service
  2. Clone the repository and navigate to the project directory:

    git clone <repository-url>
    cd <project-directory>
  3. Create and activate a virtual environment:

    python3 -m venv .venv
    source .venv/bin/activate
  4. Install Python dependencies:

    pip install -r Requirements.txt
  5. Run database migrations:

    python manage.py migrate
  6. Start the Django development server:

    python manage.py runserver
  7. Start Celery worker:

    celery -A GenZ worker -l info

Windows

  1. Install Redis:

  2. Clone the repository and navigate to the project directory:

    git clone <repository-url>
    cd <project-directory>
  3. Create and activate a virtual environment:

    python -m venv .venv
    .venv\Scripts\activate
  4. Install Python dependencies:

    pip install -r Requirements.txt
  5. Run database migrations:

    python manage.py migrate
  6. Start the Django development server:

    python manage.py runserver
  7. Start Celery worker:

    celery -A GenZ worker -l info

Configuration

Ensure the following settings are present in your settings.py:

# Celery settings
CELERY_BROKER_URL = 'redis://localhost:6379/0'
CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
CELERY_ACCEPT_CONTENT = ['json']
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'
CELERY_TIMEZONE = 'UTC'

genz's People

Contributors

xahin96 avatar pranav605 avatar kashyap-prajapati avatar sachreet112 avatar tasnim-farhin65 avatar sachreetkaur avatar

Watchers

 avatar

genz's Issues

task feature

Employees can check the information of all the tasks related to their organization.

profile improvement

  1. add more profile details in the model of Employee and Organization
  2. profile page sidebar update

Create file storage system for knowledge PDFs

[1:43 PM] Sai Pranav Nishtala
For the DB

  1. We need a table to store the titles of the documents uploaded by the user
  2. We need another table to store the document content by page Or as an array

dashboard issues

  1. why it is showing the total number of organizations to an employee
  2. the number of users is actually showing the number of employees, not visitors
  3. number of tasks, questions, and trained documents should be the number of this organization.
  4. the total number of organizations, questions, and users could be displayed on the landing page
  5. display the organization's name on top of the numbers as well

Create client dashboard

A dashboard for clients must be implemented where the users will ask questions. no login or registration needed

image

UI Fixes

UI Fixes through the application

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.