{"id":16419724,"url":"https://github.com/salaah01/create_django_project","last_synced_at":"2026-05-05T14:31:54.001Z","repository":{"id":104266039,"uuid":"294263148","full_name":"Salaah01/create_django_project","owner":"Salaah01","description":"Creates a Django project","archived":false,"fork":false,"pushed_at":"2020-09-12T03:06:30.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T13:48:09.496Z","etag":null,"topics":["automation","bash","django","python","shell","web","webdevelopment"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Salaah01.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-10T00:42:35.000Z","updated_at":"2021-09-29T12:46:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9fd3428-78bb-4341-b5ec-b95e6f3adf23","html_url":"https://github.com/Salaah01/create_django_project","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Salaah01/create_django_project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Salaah01%2Fcreate_django_project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Salaah01%2Fcreate_django_project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Salaah01%2Fcreate_django_project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Salaah01%2Fcreate_django_project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Salaah01","download_url":"https://codeload.github.com/Salaah01/create_django_project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Salaah01%2Fcreate_django_project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32653463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["automation","bash","django","python","shell","web","webdevelopment"],"created_at":"2024-10-11T07:25:43.908Z","updated_at":"2026-05-05T14:31:53.985Z","avatar_url":"https://github.com/Salaah01.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create Django Project Script\n\nA bash script to create and setup a Django project.\n\nThe script will do the following:\n\n- Creates a virtual environment and installs Django.\n- Creates a django project using the PACKAGE_NAME and APPS.\n- Set static root and media root rules.\n- Update `SECRET_KEY` and `DEBUG` to read from environment variables.\n- Update `TEMPLATES` rule in settings.\n- If the database argument (-d) is recognised, then set the appropriate environment for `DB_ENGINE`.\n- If the database argument (-d) is recongised, then update the database settings.\n- In the projects root `urls.py` file, create include rules routing to an url file in each app directory.\n- Inside each app directory create a `urls.py` file with basic configurations.\n- Remove `views.py` and `tests.py` in each directory and create a views and tests directory with an `__init__.py` inside each directory.\n- In each app directory create template and static directories with related sub-directories.\n- Updates `INSTALLED_APPS`.\n\n**NAME**\n\ncreate_django_project - Django Project Creator\n\n**SYNOPSIS**\n\nbash create_django_project -p PROJECT_NAME [options]\n\n**OPTIONS**\n\n    -p      Project name.\n    -d      Database type (postgresql, oracle or mysql).\n    -a      App(s) to be created and set up.\n    -s      Option to update static root settings.\n    -m      Option to update media root settings.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalaah01%2Fcreate_django_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalaah01%2Fcreate_django_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalaah01%2Fcreate_django_project/lists"}