{"id":22170901,"url":"https://github.com/elhanarinc/customspiritdjango","last_synced_at":"2026-04-10T00:57:41.714Z","repository":{"id":94737063,"uuid":"363366402","full_name":"elhanarinc/customspiritdjango","owner":"elhanarinc","description":"Custom version of Spirit project with docker support","archived":false,"fork":false,"pushed_at":"2021-05-03T11:14:39.000Z","size":3481,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T17:52:56.701Z","etag":null,"topics":["aws","cdk","django","docker","nginx"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/elhanarinc.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-01T09:03:06.000Z","updated_at":"2022-01-15T20:33:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"90d84618-e91b-4442-9642-e86bc36f4d98","html_url":"https://github.com/elhanarinc/customspiritdjango","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elhanarinc/customspiritdjango","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elhanarinc%2Fcustomspiritdjango","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elhanarinc%2Fcustomspiritdjango/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elhanarinc%2Fcustomspiritdjango/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elhanarinc%2Fcustomspiritdjango/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elhanarinc","download_url":"https://codeload.github.com/elhanarinc/customspiritdjango/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elhanarinc%2Fcustomspiritdjango/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268069494,"owners_count":24190735,"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-07-31T02:00:08.723Z","response_time":66,"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":["aws","cdk","django","docker","nginx"],"created_at":"2024-12-02T06:56:34.158Z","updated_at":"2025-12-30T21:53:29.048Z","avatar_url":"https://github.com/elhanarinc.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Custom Spirit Django Project\n\nCustom version of [Spirit](https://github.com/nitely/Spirit) project. \n\nThis project assumes you had already installed these tools:\n\n1. [Docker](https://www.docker.com/)\n2. [Nodejs](https://nodejs.org/en/download/)\n3. [AWS cli](https://aws.amazon.com/cli/?nc1=h_ls)\n4. [AWS CDK](https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html)\n\n## Development Environment\n\nYou just need to install docker and add *.env.dev* for developing the custom version of the spirit project.\n\nSample *.env.dev*\n```\nDEBUG=True\nSECRET_KEY=\u003csecret-key\u003e\nPOSTGRE_NAME=\u003cpostgre-name\u003e\nPOSTGRE_USER=\u003cpostgre-user\u003e\nPOSTGRE_PASSWORD=\u003cpostgre-pw\u003e\nPOSTGRE_HOST=\u003cpostgre-host\u003e\nPOSTGRE_PORT=\u003cpostgre-port\u003e\n```\n\nYou can start the project using docker.\nBelow you can find the sample docker usage:\n\n```\ncd \u003cthis directory\u003e/app\ndocker build -t customspiritdjango .\ndocker run -p 80:80 -it customspiritdjango:latest\n```\n\nAfter these commands you can access custom version of spirit using:\n1. _http://localhost_\n2. _http://127.0.0.1_\n\n## Production Deployment\n\n1. First you need to install and configure your [AWS cli](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html).\n\n2. Install [Nodejs](https://nodejs.org/tr/download/package-manager/) then by using it install [AWS CDK](https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html).\n\n3. Add *.env.prod* to custom spirit django project. Sample one can be found below:\n    ```\n    DEBUG=True\n    SECRET_KEY=\u003csecret-key\u003e\n    POSTGRE_NAME=\u003cpostgre-name\u003e\n    POSTGRE_USER=\u003cpostgre-user\u003e\n    POSTGRE_PASSWORD=\u003cpostgre-pw\u003e\n    POSTGRE_HOST=\u003cpostgre-host\u003e\n    POSTGRE_PORT=\u003cpostgre-port\u003e\n    ```\n\n4. Add *.env* to cdk folder\n    ```\n    CDK_DEPLOY_ACCOUNT=\u003caws-deployment-account-id\u003e\n    CDK_DEPLOY_REGION=\u003caws-deployment-account-region\u003e\n    CLIENT_NAME=\u003cclient-name-for-custom-spirit-django\u003e\n    PROJECT_ENV=\u003cproject-env\u003e\n    DOMAIN=\u003cdomain-that-you-own-and-want-to-deploy\u003e\n    ```\n    \n    **App folder** should be looked like this:\n\n    ![](https://user-images.githubusercontent.com/7025275/116869409-5d099100-ac19-11eb-815d-7ccd4c800d19.png)\n\n    **Cdk folder** should be looked like this:\n\n    ![](https://user-images.githubusercontent.com/7025275/116869433-6d217080-ac19-11eb-9cd5-c2868d4193e2.png)\n\n5. After you installed necessary tools and configure *.env* files you can deploy your stack by using these commands:\n\n    ```\n    cd \u003cthis-directory\u003e/cdk\n    npm i\n    cdk bootstrap\n    cdk synth\n    cdk deploy\n    ```\n6. You can access your custom spirit django project from the domain you have provided.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felhanarinc%2Fcustomspiritdjango","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felhanarinc%2Fcustomspiritdjango","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felhanarinc%2Fcustomspiritdjango/lists"}