{"id":18735702,"url":"https://github.com/rdmurphy/django-template","last_synced_at":"2025-04-12T19:21:06.067Z","repository":{"id":35513212,"uuid":"39783453","full_name":"rdmurphy/django-template","owner":"rdmurphy","description":":package: A basic starting point for a Django app. Intentionally simple and opinionated.","archived":false,"fork":false,"pushed_at":"2022-01-21T19:42:45.000Z","size":183,"stargazers_count":6,"open_issues_count":24,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T13:38:19.655Z","etag":null,"topics":[],"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/rdmurphy.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":"2015-07-27T15:53:48.000Z","updated_at":"2021-03-05T17:13:44.000Z","dependencies_parsed_at":"2022-09-08T15:02:40.132Z","dependency_job_id":null,"html_url":"https://github.com/rdmurphy/django-template","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/rdmurphy%2Fdjango-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmurphy%2Fdjango-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmurphy%2Fdjango-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmurphy%2Fdjango-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rdmurphy","download_url":"https://codeload.github.com/rdmurphy/django-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248618652,"owners_count":21134277,"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":[],"created_at":"2024-11-07T15:17:48.064Z","updated_at":"2025-04-12T19:21:06.019Z","avatar_url":"https://github.com/rdmurphy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Template\n\nA basic starting point for a Django app. Intentionally simple and opinionated. Strongly influenced by the original [Two Scoops of Django template](https://github.com/twoscoops/django-twoscoops-project) and its latest iteration [`cookiecutter-django`](https://github.com/pydanny/cookiecutter-django).\n\n## Requirements\n\n- Django 1.9\n- Node.js\n- `virtualenvwrapper`\n- Willingness to change this README to something that makes sense with your project post-generation\n\n## Getting started\n\nPlease note – this guide assumes you are using OS X.\n\nFirst, create the folder for you project.\n\n```bash\nmkdir \u003cfolder-of-your-project\u003e\n```\n\nThen, create the virtual environment for your project.\n\n```bash\nmkvirtualenv \u003cname-of-your-project\u003e-dev\n```\n\nNext, install Django.\n\n```bash\npip install django\n```\n\nNow we're ready to pull in the template. Take note \u0026mdash; if you do not pass in the `\u003cfolder-of-your-project\u003e`, it'll create a new one for you.\n\n```bash\ndjango-admin startproject --template=https://github.com/rdmurphy/django-template/archive/master.zip --extension=coveragerc,gitignore,html,py,js,sh \u003cname-of-your-project\u003e \u003cfolder-of-your-project\u003e\n```\n\nJump into your newly created project folder, get `git` initialized, and make your first commit.\n\n```bash\ncd \u003cfolder-of-your-project\u003e\ngit init\ngit add .\ngit commit -m \"Initial commit\"\n```\n\nNow, install your local development requirements.\n\n```bash\npip install -r requirements/local.txt\n```\n\nYou should be able to run your first `migrate` now! Give it a try.\n\n```bash\npython \u003cname-of-your-project\u003e/manage.py migrate\n```\n\nNext, we'll install the Node.js dependencies for building our static assets.\n\n```bash\nnpm install\n```\n\nThen we can build our assets.\n\n```bash\nnpm run build/production\n```\n\nRunning the development server is one command.\n\n```bash\nnpm run serve\n```\n\nThis handles both the `python manage.py runserver` and the `gulp serve`, and can cleanly exit them both. Your site will be available at `http://localhost:3000`!\n\nDon't forget to replace this README!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdmurphy%2Fdjango-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frdmurphy%2Fdjango-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdmurphy%2Fdjango-template/lists"}