Skip to content

IMsumitkumar/CommOn-Developers-Community

Repository files navigation

There is only one contributor (@IMSumitKumar) yet.

GitHub issues GitHub forks GitHub stars GitHub license


Logo

CommOn Developer Community

Demo

Table of Contents

About The Project

main page

Overview

  • The main purpose of this project is to cluster all the user according to similiar domain(web developement, data science, django framework etc.) so that experienced in the perticular domain can contribute and help each other in real time βŒ›.
  • These rooms are predefined by the admin and the group is also managed by the admin.
  • User's can leave the group anytime and can join one core room anytime.
  • For now one user can only join group at a time.
  • User's can make their own room and can chat in Realtime and anyone can join them.
  • In core rooms, No one can abuse, insult or hate anyone🀫. If anyone abuses than bot will warn that user.
  • In Core rooms, No one can ask meta question like below. So that conversation can be clean, informative and meaningful and problem can be solved in realtime and lesstime.
    1. Any user of $X here?
    2. Anyone used technology $y?
    3. whrer are you from ?
    
  • User can ask question and save their answer (conversation) of that perticular question so that helpful for others in future.
  • users can ask for team by filling team recruitment form and can add a individual in project dashboard by username (in developement phase).
  • posts(according to the domain) can be added by the admin of the core room which can be benificial for user's to learn a new thing everyday realted to their intresting domain.
  • profile / update profile / login / signup / password recovery πŸ‘.
  • project is in developement phase. there is a lot more to do.

Built With

sumit sumit sumit sumit sumit sumit sumit sumit sumit sumit sumit



Scikit learn

Getting Started

To get a local copy up and running follow these simple steps. make sure git is installed in yout machine.

Installation

  1. Clone the repo
git clone https://github.com/IMsumitkumar/CommOn-Developers-Community
  1. create a virtual env and activate
conda create -n <env_name> python=3.7
conda activate <env_name>
  1. Install dependencies
pip install -r requirements.txt      -      (inside project directory)

RUN

STEP 1 : Migrate the databse tables and create superuser

python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser

    username : *****
    email    : *****
    password : ******

STEP 2 : Install Docker

  • for linux
Install directly from store
  • for windows and mac users
https://www.youtube.com/watch?v=CYyUCJad954

STEP 3: start a redis server on port 6379 using docker

docker run -p 6379:6379 -d redis:5
**Error** : Got permission denied while trying to connect to the Docker daemon socket at unix
**solution** : chmod 777 /var/run/docker.sock

STEP 4

python manage.py runserver

STEP 5 : setting up rooms

1. Go to 127.0.0.1:8000/admin or localhost:8000/admin
2. Select groups in AUTHENTICATION AND AUTHORIZATION section
3. click on ADD Group
4. add (CP, DS, WD) one by one

Groups selection image

Installation errors

en_core_web_sm module not found

pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.2.0/en_core_web_sm-2.2.0.tar.gz --no-deps

Directory Tree

β”œβ”€β”€ common 
β”‚Β Β  └─────────── # main folder contains wsgi, routing, settings and urls.
β”œβ”€β”€ common_app
β”‚Β Β  └─────────── # handles login, signup and password recovery. 
β”œβ”€β”€ notes 
β”‚Β Β  └─────────── # nothing much just a template..
β”œβ”€β”€ project_manag
β”‚Β Β  └─────────── # handles project management opeations.
β”œβ”€β”€ QnA
β”‚Β Β  └─────────── # QnA dashboard- questions comming from student_gp
β”œβ”€β”€ recruit_team
β”‚Β Β  └─────────── # handles recruit team forms.
β”œβ”€β”€ student_gp
β”‚Β Β  └─────────── # handles multiple async chat comsumers (rooms)
β”œβ”€β”€ user_group
β”‚Β Β  └─────────── # users can create multiple rooms.
β”œβ”€β”€ user_profile
β”‚Β Β  └─────────── # profile and updation of profile
β”œβ”€β”€ templates
β”‚Β Β  └─────────── # contains landing page templates
β”œβ”€β”€ media
β”‚Β Β  └─────────── # contains uploaded media (profile photos etc)
β”œβ”€β”€ static
β”‚Β Β  └─────────── # contains static files
β”œβ”€β”€ manage.py
β”œβ”€β”€ arrow-down.png
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
└── db.sqlite3

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Team

Sumit Kumar
Sumit

License

APM

Copyright 2020 Sumit Kumar

Contact

Sumit Kumar - email me @[email protected]

Project Link: https://github.com/IMsumitkumar/CommOn-Developers-Community

References

Credits

  • HTML templates are being used from open source.
  • Modificatons are made by me.

About

A social media platform based on different core technological domain. Project management. Rooms.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published