{"id":20827347,"url":"https://github.com/realpython/django-bootstrap","last_synced_at":"2025-05-07T21:04:55.600Z","repository":{"id":67324409,"uuid":"75122473","full_name":"realpython/django-bootstrap","owner":"realpython","description":null,"archived":false,"fork":false,"pushed_at":"2016-12-05T01:36:40.000Z","size":50,"stargazers_count":7,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-07T21:04:50.703Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/realpython.png","metadata":{"files":{"readme":"README.rst","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-29T21:11:47.000Z","updated_at":"2024-07-12T08:38:17.000Z","dependencies_parsed_at":"2023-03-11T01:27:08.996Z","dependency_job_id":null,"html_url":"https://github.com/realpython/django-bootstrap","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/realpython%2Fdjango-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fdjango-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fdjango-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fdjango-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realpython","download_url":"https://codeload.github.com/realpython/django-bootstrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954432,"owners_count":21830903,"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-17T23:11:51.114Z","updated_at":"2025-05-07T21:04:55.590Z","avatar_url":"https://github.com/realpython.png","language":"Python","readme":"Django Bootstrap\n==============================\n\nTutorial on bootstrapping django projects\n\n\nLICENSE: BSD\n\nSettings\n------------\n\nMoved to settings_.\n\n.. _settings: http://cookiecutter-django.readthedocs.org/en/latest/settings.html\n\nBasic Commands\n--------------\n\nSetting Up Your Users\n^^^^^^^^^^^^^^^^^^^^^\n\nTo create a **normal user account**, just go to Sign Up and fill out the form. Once you submit it, you'll see a \"Verify Your E-mail Address\" page. Go to your console to see a simulated email verification message. Copy the link into your browser. Now the user's email should be verified and ready to go.\n\nTo create an **superuser account**, use this command::\n\n    $ python manage.py createsuperuser\n\nFor convenience, you can keep your normal user logged in on Chrome and your superuser logged in on Firefox (or similar), so that you can see how the site behaves for both kinds of users.\n\nTest coverage\n^^^^^^^^^^^^^\n\nTo run the tests, check your test coverage, and generate an HTML coverage report::\n\n    $ coverage run manage.py test\n    $ coverage html\n    $ open htmlcov/index.html\n\nLive reloading and Sass CSS compilation\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nMoved to `Live reloading and SASS compilation`_.\n\n.. _`Live reloading and SASS compilation`: http://cookiecutter-django.readthedocs.org/en/latest/live-reloading-and-sass-compilation.html\n\n\n\n\n\n\n\nIt's time to write the code!!!\n\n\nRunning end to end integration tests\n------------------------------------\n\nN.B. The integration tests will not run on Windows.\n\nTo install the test runner::\n\n  $ pip install hitch\n\nTo run the tests, enter the django_bootstrap/tests directory and run the following commands::\n\n  $ hitch init\n\nThen run the stub test::\n\n  $ hitch test stub.test\n\nThis will download and compile python, postgres and redis and install all python requirements so the first time it runs it may take a while.\n\nSubsequent test runs will be much quicker.\n\nThe testing framework runs Django, Celery (if enabled), Postgres, HitchSMTP (a mock SMTP server), Firefox/Selenium and Redis.\n\n\nDeployment\n----------\n\nWe providing tools and instructions for deploying using Docker and Heroku.\n\nHeroku\n^^^^^^\n\n.. image:: https://www.herokucdn.com/deploy/button.png\n    :target: https://heroku.com/deploy\n\nSee detailed `cookiecutter-django Heroku documentation`_.\n\n.. _`cookiecutter-django Heroku documentation`: http://cookiecutter-django.readthedocs.org/en/latest/deployment-on-heroku.html\n\nDocker\n^^^^^^\n\nSee detailed `cookiecutter-django Docker documentation`_.\n\n.. _`cookiecutter-django Docker documentation`: http://cookiecutter-django.readthedocs.org/en/latest/deployment-with-docker.html\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealpython%2Fdjango-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealpython%2Fdjango-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealpython%2Fdjango-bootstrap/lists"}