{"id":15563931,"url":"https://github.com/mrsarm/django-coleman","last_synced_at":"2025-04-05T16:10:25.121Z","repository":{"id":23187178,"uuid":"98375633","full_name":"mrsarm/django-coleman","owner":"mrsarm","description":"A very simple Task Management web app written with Django Admin","archived":false,"fork":false,"pushed_at":"2025-03-14T12:01:24.000Z","size":493,"stargazers_count":103,"open_issues_count":2,"forks_count":34,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T15:11:18.522Z","etag":null,"topics":["django","django-admin","python3","task-manager","webapplication"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrsarm.png","metadata":{"files":{"readme":"README-production.rst","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-26T03:34:08.000Z","updated_at":"2025-03-13T21:34:48.000Z","dependencies_parsed_at":"2023-02-14T22:15:57.893Z","dependency_job_id":"75328277-f39c-4854-a8d4-1972bddd7904","html_url":"https://github.com/mrsarm/django-coleman","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsarm%2Fdjango-coleman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsarm%2Fdjango-coleman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsarm%2Fdjango-coleman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsarm%2Fdjango-coleman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrsarm","download_url":"https://codeload.github.com/mrsarm/django-coleman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247361695,"owners_count":20926643,"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":["django","django-admin","python3","task-manager","webapplication"],"created_at":"2024-10-02T16:30:52.405Z","updated_at":"2025-04-05T16:10:25.069Z","avatar_url":"https://github.com/mrsarm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Run in production mode\n======================\n\nTo run in production mode, you must install a WSGI compliant server\nlike *uWSGI* or *Gunicorn*. Also run a production-ready database like\nPostgreSQL or MySQL.\n\nTo run the project with uWSGI server at port 8000, and connect\nwith a Postgres database named ``dcoleman_dev``\n(or other specified in the environment variable ``DATABASE_URL``),\nexecute::\n\n    $ uwsgi uwsgi.ini\n\nBefore run the first time, install the dependencies with::\n\n    $ pip install -r requirements/requirements-prod.txt\n\nThe static resources must served with a HTTP server\nlike *Nginx* or *Apache HTTP*. To collect all static resources\nin the folder ``static/``, execute once::\n\n    $ python3 manage.py collectstatic\n\n\nNginx configuration\n-------------------\n\nThis is an example of how should looks like a *Nginx* configuration\nfile for Django Coleman::\n\n    server {\n        listen      80;\n        server_name django-coleman;\n        access_log  /var/log/nginx/django.access.log;\n        error_log   /var/log/nginx/django.error.log;\n\n        root /path/to/project/django-coleman;\n\n        location /static {\n        }\n\n        location / {\n            proxy_pass   http://127.0.0.1:8000;\n        }\n\n        proxy_cache_valid       200  1d;\n        proxy_cache_use_stale   error timeout invalid_header updating\n                                http_500 http_502 http_503 http_504;\n\n        proxy_redirect          off;\n        proxy_set_header        Host            $host;\n        proxy_set_header        X-Real-IP       $remote_addr;\n        proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;\n    }\n\nWith the above configuration, the Admin interface should be accessible\nat http://django-coleman/admin\n\nIf you can't see the Admin page correctly, and the browser console shows\nyou *403 Forbidden* errors, ensure the system user that runs the Nginx server\nhas permissions to access to the Django Coleman resources.\n\nAlso be sure to have mapped `django-coleman` in your DNS server, or in the\n`/etc/hosts` where you want to access the app::\n\n   echo '127.0.0.1 django-coleman' | sudo tee -a /etc/hosts\n\n\nPostgreSQL database\n-------------------\n\nIf you want to use a PostgreSQL database (recommended), before run\nthe `migration scripts \u003chttps://github.com/mrsarm/django-coleman/#install-and-run\u003e`_\nbe sure to create the user and the database used by Django Coleman.\nIn the ``run.sh`` script is used this string connection\nas example: ``postgresql://dcoleman:postgres@localhost/dcoleman_dev``,\nso to create a database ``dcoleman_dev`` with a user ``dcoleman`` and a\npassword ``postgres``, first create the user with::\n\n    $ sudo -u postgres createuser --createdb --no-superuser --no-createrole --pwprompt dcoleman\n\nIf you are already logged-in as a superuser, you can execute instead the following, within the SQL session:\n``CREATE USER dcoleman;``, and then to be prompted for a password within a ``psql`` session\nexecute ``\\password dcoleman``.\n\nThen create the database with::\n\n    $ sudo -u postgres psql\n    postgres=# CREATE DATABASE dcoleman_dev OWNER dcoleman;\n\nAnother way to create user and database in Postgres is to use\nthe Procfile task ``createdb``, checkout the section below.\n\n\nDocker and Procfile\n-------------------\n\n**Docker**: check out the \"Docker\" section in the `\u003cREADME.rst\u003e`_ file.\n\n**Procfile**: provided in the source code, the ``web``\ntask allows to launch the webserver, checkout the `\u003c.env.example\u003e`_\nfile and the `\u003cREADME.rst\u003e`_ guides of how to use\nit with *Honcho*.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrsarm%2Fdjango-coleman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrsarm%2Fdjango-coleman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrsarm%2Fdjango-coleman/lists"}