{"id":19249445,"url":"https://github.com/dori-dev/django-chat","last_synced_at":"2025-04-21T12:32:25.881Z","repository":{"id":41572300,"uuid":"473634207","full_name":"dori-dev/django-chat","owner":"dori-dev","description":"Create advance messenger web application with Django.","archived":false,"fork":false,"pushed_at":"2022-07-22T14:26:39.000Z","size":235,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T13:37:15.486Z","etag":null,"topics":["channels","chat","django","django-channels","messenger","redis"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dori-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-24T14:10:46.000Z","updated_at":"2025-02-28T07:12:58.000Z","dependencies_parsed_at":"2022-07-21T22:33:38.055Z","dependency_job_id":null,"html_url":"https://github.com/dori-dev/django-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fdjango-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fdjango-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fdjango-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fdjango-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dori-dev","download_url":"https://codeload.github.com/dori-dev/django-chat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250056152,"owners_count":21367494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["channels","chat","django","django-channels","messenger","redis"],"created_at":"2024-11-09T18:14:01.951Z","updated_at":"2025-04-21T12:32:25.573Z","avatar_url":"https://github.com/dori-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Chat\n\nCreate advance \u003cb\u003emessenger\u003c/b\u003e web application with \u003cb\u003eDjango\u003c/b\u003e.\n\n#\n\n## Tools\n\n- [Django](https://www.djangoproject.com/)\n- [Django Channels](https://channels.readthedocs.io/en/stable/)\n- [Python](https://www.python.org/)\n- [Bootstrap](https://getbootstrap.com/)\n- [PostgreSQL](https://www.postgresql.org/)\n- [Redis](https://redis.io/)\n- [Docker](https://www.docker.com/)\n\n#\n\n# Run Project\n\n## Download Codes\n\n```\ngit clone https://github.com/dori-dev/django-chat.git\ncd django-chat\n```\n\n## Install Postgresql\n\nInstall postgresql from [here](https://www.postgresql.org/download/).\n\n## Create DataBase\n\nCreate a postgres database and set your database name, user, password, host and port in `.env` file with change `DB_NAME` `DB_USER` `DB_PASSWORD` `DB_HOST` `DB_POST` variables!\n\n## Install Docker\n\nInstall docker from [here](https://docs.docker.com/engine/install/).\n\n## Setup Redis\n\n```\nsudo docker run -p 6379:6379 -d redis:5\n```\n\n## Build Virtual Environment\n\n```\npython3 -m venv env\nsource env/bin/activate\n```\n\n## Install Project Requirements\n\n```\npip install -r requirements.txt\n```\n\n## Migrate Models\n\n```\npython3 manage.py makemigrations chat\npython3 manage.py migrate\n```\n\n## Add Super User\n\n```\npython3 manage.py createsuperuser\n```\n\n## Collect Static\n\n```\npython3 manage.py collectstatic\n```\n\n## Test Project\n\nAt first, install chrome [webdriver](https://chromedriver.chromium.org/) for test with selenium.\nthen copy `chromedriver` \u003cb\u003ebinary\u003c/b\u003e file in `env/bin/` path\n\n## Run Test\n\n```\npython3 manage.py test\n```\n\n## Run Server\n\n```\npython3 manage.py runserver\n```\n\n## Open On Browser\n\nHome Page\n[127.0.0.1:8000](http://127.0.0.1:8000/)\n\nAdmin Page\n[127.0.0.1:8000/admin](http://127.0.0.1:8000/admin)\n\n#\n\n# Links\n\nDownload Source Code: [Click Here](https://github.com/dori-dev/django-chat/archive/refs/heads/master.zip)\n\nMy Github Account: [Click Here](https://github.com/dori-dev/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdori-dev%2Fdjango-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdori-dev%2Fdjango-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdori-dev%2Fdjango-chat/lists"}