{"id":15731759,"url":"https://github.com/dfurtado/generator-djangospa","last_synced_at":"2025-08-11T02:07:03.449Z","repository":{"id":57246915,"uuid":"38529925","full_name":"dfurtado/generator-djangospa","owner":"dfurtado","description":"Django single page application generator for Yeoman","archived":false,"fork":false,"pushed_at":"2023-04-16T15:41:28.000Z","size":734,"stargazers_count":9,"open_issues_count":14,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-03T01:40:13.774Z","etag":null,"topics":["django","python","single-page-app","single-page-applications","webapp","webframework","yoman"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/dfurtado.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":["dfurtado"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2015-07-04T10:09:54.000Z","updated_at":"2020-09-19T08:08:19.000Z","dependencies_parsed_at":"2024-10-18T20:00:13.624Z","dependency_job_id":"8e1a0f49-bbb0-44b2-88db-dd704962633c","html_url":"https://github.com/dfurtado/generator-djangospa","commit_stats":{"total_commits":115,"total_committers":3,"mean_commits":"38.333333333333336","dds":0.4347826086956522,"last_synced_commit":"9fc9f1a6eea15e1a1e92a1cab7869fda490d5a7c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dfurtado/generator-djangospa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfurtado%2Fgenerator-djangospa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfurtado%2Fgenerator-djangospa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfurtado%2Fgenerator-djangospa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfurtado%2Fgenerator-djangospa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfurtado","download_url":"https://codeload.github.com/dfurtado/generator-djangospa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfurtado%2Fgenerator-djangospa/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269819032,"owners_count":24480087,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["django","python","single-page-app","single-page-applications","webapp","webframework","yoman"],"created_at":"2024-10-04T00:05:07.868Z","updated_at":"2025-08-11T02:07:03.409Z","avatar_url":"https://github.com/dfurtado.png","language":"JavaScript","funding_links":["https://github.com/sponsors/dfurtado"],"categories":[],"sub_categories":[],"readme":"# generator-djangospa\n\nDjango single page application for Yeoman\n\n\n## Getting started\n\n### Setting up the environment\n\nCreate a virtual environment and install django:\n\n```\n$ virtualenv myenv\n```\n\nActivate the environment:\n\n```\n$ . myenv/bin/activate\n```\n\nInstall the django single page app generator\n\n```\n$ npm install generator-djangospa -g\n```\n\n\n### Creating a new project\n\n```\n$ yo djangospa\n```\nThe generator will ask the name of the project, an initial app name, which version of django, theme, licensing and\nafter that it will download all the project dependencies and run gulp to copy files over to proper locations.\n\n\n## Project folder structure\n\n```\n├─┬ app\\\n│ └─┬ templates\\\n│   └── app\\\n│\n├── demo\\\n│\n├─┬ source\\\n│ └── scss\\\n│\n├─┬ static\\\n│ ├─┬ scripts\\\n│ │ └── app\\\n│ │\n│ ├─┬ styles\\\n│ │ └── css\\\n│ │\n│ └── view_templates\\\n│\n└── templates\\\n```\n\n## Installing the dependencies:\n\n```\n$ cd \u003cname_of_your_project\u003e\n$ pip install -r requirements.txt\n```\n\nIf you are using `pipenv` you can run:\n\n```\n$ pipenv install -r requirements.txt\n```\n\n## Applying migrations\n```\n$ python manage.py makemigrations\n$ python manage.py migrate\n```\n\n## Creating the admin user\n```\n$ python manage.py createsuperuser\n```\n\n## Adding intial data\n```\n$ python manage.py loaddata fixtures/initdata.json\n```\n\n## Starting the site\n```\n$ python manage.py runserver\n```\n\nAccess your application at `http://127.0.0.1:8000`\n\n\n## Django REST framework API\n\nAccess browsable API at `http://127.0.0.1:8000/api`\n\n## Django admin page\n\nThe django admin page is enabled by default and it can be accessed at `http://127.0.0.1:8000/admin`\n\n\n## Gulp tasks\n\n| Task | Description |\n|:------|:-------------|\n|copy-styles| Copy all the CSS dependencies to `static/styles/css/`|\n|copy-scripts| Copy all the JavaScript dependencies to `static/scripts/`|\n|sass| Compile the SCSS files into CSS |\n|sass:watch| Watch for changes in the scss files and run the `sass` task|\n\n\n## Copyright and License\n\nCopyright (c) 2015 [Daniel Furtado](https://twitter.com/the8bitcoder). Code released under [the MIT license](LICENSE.md)\n\n## Contributors\n\n[https://github.com/dfurtado/generator-djangospa/graphs/contributors](https://github.com/dfurtado/generator-djangospa/graphs/contributors)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfurtado%2Fgenerator-djangospa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfurtado%2Fgenerator-djangospa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfurtado%2Fgenerator-djangospa/lists"}