{"id":21045030,"url":"https://github.com/quansight/ansible-django-do-tutorial","last_synced_at":"2025-08-12T18:13:06.526Z","repository":{"id":46814647,"uuid":"267367939","full_name":"Quansight/ansible-django-do-tutorial","owner":"Quansight","description":"An Ansible tutorial for deploying a Django app on Digital Ocean","archived":false,"fork":false,"pushed_at":"2023-01-24T23:30:54.000Z","size":20,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-11T05:56:55.888Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Quansight.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":"2020-05-27T16:15:37.000Z","updated_at":"2020-06-11T12:53:13.000Z","dependencies_parsed_at":"2023-02-14T02:31:16.091Z","dependency_job_id":null,"html_url":"https://github.com/Quansight/ansible-django-do-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Quansight/ansible-django-do-tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quansight%2Fansible-django-do-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quansight%2Fansible-django-do-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quansight%2Fansible-django-do-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quansight%2Fansible-django-do-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Quansight","download_url":"https://codeload.github.com/Quansight/ansible-django-do-tutorial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quansight%2Fansible-django-do-tutorial/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270110015,"owners_count":24528958,"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-12T02:00:09.011Z","response_time":80,"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":[],"created_at":"2024-11-19T14:19:37.937Z","updated_at":"2025-08-12T18:13:06.358Z","avatar_url":"https://github.com/Quansight.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Tutorial\n\nA basic Django app with postgres as database deployed on DigitalOcean (droplet) via Ansible.\n\n## Environment variables\n\nCreate a `.env` file in the root of the cloned repository, with following variables:\n\n```bash\nPOSTGRES_DB=sample\nPOSTGRES_USER=postgres\nPOSTGRES_PASSWORD=\"set strong password for postgres\"\nSUPERUSER_PASSWORD=\"set strong password for django admin dashboard\"\nDO_API_TOKEN=\"Digital Ocean token, if deploying\"\n```\n\n## Running the app\n\nTo run the app install `docker` and `docker-compose`. Build and run the\napp with following commands:\n\n```bash\ndocker-compose build\n```\n\n```bash\ndocker-compose up\n```\n\nAfter running the commands above, the app should be running at:\nhttp://127.0.0.1:8000/\n\n## Deployment\n\nThis is deployed on Digital Ocean Droplet via Ansible. To deploy run the\nfollowing command after `docker-compose up`:\n\n```bash\ndocker-compose exec web ansible-playbook deployment/site.yml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquansight%2Fansible-django-do-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquansight%2Fansible-django-do-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquansight%2Fansible-django-do-tutorial/lists"}