{"id":21570496,"url":"https://github.com/gitpod-samples/template-django-cookiecutter","last_synced_at":"2025-09-16T12:25:02.344Z","repository":{"id":236672651,"uuid":"629795329","full_name":"gitpod-samples/template-django-cookiecutter","owner":"gitpod-samples","description":"cookiecutter-django template with Gitpod","archived":false,"fork":false,"pushed_at":"2023-04-19T03:30:47.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-24T12:45:31.816Z","etag":null,"topics":["cde","cookiecutter","cookiecutter-template","django","gitpod","template"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitpod-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-04-19T03:28:18.000Z","updated_at":"2023-05-07T16:10:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"dcbdc9f0-4e9a-457b-a4dc-27433c5288a3","html_url":"https://github.com/gitpod-samples/template-django-cookiecutter","commit_stats":null,"previous_names":["gitpod-samples/template-django-cookiecutter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-samples%2Ftemplate-django-cookiecutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-samples%2Ftemplate-django-cookiecutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-samples%2Ftemplate-django-cookiecutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-samples%2Ftemplate-django-cookiecutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitpod-samples","download_url":"https://codeload.github.com/gitpod-samples/template-django-cookiecutter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244166758,"owners_count":20409179,"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":["cde","cookiecutter","cookiecutter-template","django","gitpod","template"],"created_at":"2024-11-24T11:12:57.379Z","updated_at":"2025-09-16T12:24:57.284Z","avatar_url":"https://github.com/gitpod-samples.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gitpod django cookiecutter sample\n\nA gitpod sample configured to quickly set up production ready django applications in the cloud using [cookiecutter-django](https://github.com/cookiecutter/cookiecutter-django).\n\n## Getting Started\nClick the button below to start the workspace\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/gitpod-samples/template-django-cookiecutter)\n\nFollow all the onscreen prompts accordingly and make sure the `project_name` is the same both times you're prompted to enter it as shown below:\n\n```\nproject_name: monty\nproject_name [My Awesome Project]: monty\nproject_slug [monty]: \n```\nPostgres is already enabled in the workspace, so all you need to do is create a database with the same name as your project:\n```\npsql -U gitpod\nCREATE DATABASE project_name;\n```\nNow for it to work you need to define a `DATABASE_URL` variable either in the `base.py` settings file or preferably a `.env` file that isn't included in VCS. The default database connection string looks like this `postgres:///dbname` the one you define should be in this format `postgres://user@localhost:port/dbname`.\n\nAnd then migrate your database:\n```\npython manage.py migrate\n```\n### Happy coding!!!\n\u003cimg width=\"1082\" alt=\"Screenshot 2023-04-17 at 17 20 52\" src=\"https://user-images.githubusercontent.com/53567551/232548837-5784644e-1d8e-4f9d-bc30-068713bdb80e.png\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitpod-samples%2Ftemplate-django-cookiecutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitpod-samples%2Ftemplate-django-cookiecutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitpod-samples%2Ftemplate-django-cookiecutter/lists"}