{"id":19249444,"url":"https://github.com/dori-dev/django-sample","last_synced_at":"2025-04-21T12:32:26.701Z","repository":{"id":50347178,"uuid":"518839910","full_name":"dori-dev/django-sample","owner":"dori-dev","description":"The sample project for django framework.","archived":false,"fork":false,"pushed_at":"2022-07-28T12:46:25.000Z","size":63,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T13:37:15.487Z","etag":null,"topics":["django","django-framework","notes-app","sample","sample-app","website"],"latest_commit_sha":null,"homepage":"https://dori-django-sample.herokuapp.com/","language":"Python","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/dori-dev.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}},"created_at":"2022-07-28T12:36:21.000Z","updated_at":"2023-02-16T08:42:07.000Z","dependencies_parsed_at":"2022-09-10T08:51:10.854Z","dependency_job_id":null,"html_url":"https://github.com/dori-dev/django-sample","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/dori-dev%2Fdjango-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fdjango-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fdjango-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fdjango-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dori-dev","download_url":"https://codeload.github.com/dori-dev/django-sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250056152,"owners_count":21367494,"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":["django","django-framework","notes-app","sample","sample-app","website"],"created_at":"2024-11-09T18:14:01.805Z","updated_at":"2025-04-21T12:32:26.434Z","avatar_url":"https://github.com/dori-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Sample\n\nThe sample project for django framework.\n\n#\n\n# How to Run Project\n\n## Download Codes\n\n```\ngit clone https://github.com/dori-dev/django-sample.git\n```\n\n```\ncd django-sample\n```\n\n## Build Virtual Environment\n\n```\npython -m venv env\n```\n\n```\nsource env/bin/activate\n```\n\n## Install Project Requirements\n\n```\npip install -r requirements.txt\n```\n\n## Change .Env Files\n\nset your environment variables in `.env.local` to `.env.production`.\u003cbr\u003e\n\u003cbr\u003e\n\n## Set STATE Variable\n\nif you doesn't set `STATE` environ variable, project run with `debug=False`\n\n```\nexport STATE=LOCAL\n```\n\n## Migrate Models\n\n```\npython manage.py makemigrations notes\n```\n\n```\npython manage.py migrate\n```\n\n## Add Super User\n\n```\npython manage.py createsuperuser\n```\n\n## Run Tests\n\n```\npython manage.py test\n```\n\n## Run Project\n\n```\npython manage.py runserver\n```\n\n## Open On Browser\n\nHome Page: [127.0.0.1:8000](http://127.0.0.1:8000/)\u003cbr\u003e\nAdmin Page: [127.0.0.1:8000/admin](http://127.0.0.1:8000/admin/)\n\n#\n\n# How to Deploy on Heroku\n\nPush to Heroku:\n\n```\nheroku login\n```\n\n```\nheroku create\n```\n\n```\ngit push heroku master\n```\n\nRun bash on Heroku with `heroku run bash` and write this commands:\n\n```\npython manage.py makemigrations notes\n```\n\n```\npython manage.py migrate\n```\n\n```\npython manage.py collectstatic\n```\n\n```\npython manage.py createsuperuser\n```\n\nOpen your website:\n\n```\nheroku open\n```\n\nSee Logs:\n\n```\nheroku logs --tail\n```\n\n#\n\n## Links\n\nDemo of Project: [dori-django-sample.herokuapp.com](https://dori-django-sample.herokuapp.com/)\n\nDownload Source Code: [Click Here](https://github.com/dori-dev/django-sample/archive/refs/heads/master.zip)\n\nMy Github Account: [Click Here](https://github.com/dori-dev/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdori-dev%2Fdjango-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdori-dev%2Fdjango-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdori-dev%2Fdjango-sample/lists"}