{"id":13752810,"url":"https://github.com/stphivos/django-angular2-fullstack-devops","last_synced_at":"2025-09-11T18:12:33.180Z","repository":{"id":151036081,"uuid":"58418509","full_name":"stphivos/django-angular2-fullstack-devops","owner":"stphivos","description":"All-in-one django/angular2 seed with cli interface for multi-environment devops on aws using ansible/packer/terraform","archived":false,"fork":false,"pushed_at":"2016-10-13T23:33:26.000Z","size":304,"stargazers_count":55,"open_issues_count":1,"forks_count":25,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-05-09T20:51:30.119Z","etag":null,"topics":["angular2","ansible","aws","devops","django","infrastructure","jenkins","packer","terraform","vagrant"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/stphivos.png","metadata":{"files":{"readme":"README.md","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-05-10T00:59:11.000Z","updated_at":"2024-07-22T15:43:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"b60622a6-d79c-4ad3-8c55-9c2ff93706d7","html_url":"https://github.com/stphivos/django-angular2-fullstack-devops","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/stphivos/django-angular2-fullstack-devops","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stphivos%2Fdjango-angular2-fullstack-devops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stphivos%2Fdjango-angular2-fullstack-devops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stphivos%2Fdjango-angular2-fullstack-devops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stphivos%2Fdjango-angular2-fullstack-devops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stphivos","download_url":"https://codeload.github.com/stphivos/django-angular2-fullstack-devops/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stphivos%2Fdjango-angular2-fullstack-devops/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274681968,"owners_count":25330240,"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-09-11T02:00:13.660Z","response_time":74,"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":["angular2","ansible","aws","devops","django","infrastructure","jenkins","packer","terraform","vagrant"],"created_at":"2024-08-03T09:01:11.268Z","updated_at":"2025-09-11T18:12:33.136Z","avatar_url":"https://github.com/stphivos.png","language":"TypeScript","readme":"# django-angular2-fullstack-devops\nAll-in-one django/angular2 seed with cli interface for multi-environment devops on aws using ansible/packer/terraform.\n\nSave weeks or even months of work!\n\n## Features\n* Vagrant box\n* Ansible playbook\n* Devops cli interface\n* Travis CI configurations\n* Tests with code coverage\n* Isolated frontend/backend projects\n* Build virtual images with packer\n* Launch infrastructure using terraform\n* Central project variables configuration\n* Jenkins pipeline workflow server (TODO)\n\n## Stack\n\n### Frontend\n* Angular 2.0\n* TypeScript 1.8\n* Bootstrap 3.3\n\n### Backend\n* Django 1.9\n* PostgreSQL 9.4\n* Django REST Framework 3.3\n\n## Requirements\n* Git ([Install](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git), [Configure SSH agent](https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/))\n* [Vagrant 1.8](https://www.vagrantup.com/docs/installation)\n* [VirtualBox](https://www.virtualbox.org/wiki/Downloads)\n* [Node.js 4](https://nodejs.org/en/download/)\n\nThe following are needed for building and deploying your infrastructure:\n\n* [Packer 0.9](https://www.packer.io/intro/getting-started/setup.html)\n* [Terraform 0.7](https://www.terraform.io/intro/getting-started/install.html)\n* AWS account setup ([Sign up](https://aws.amazon.com), [Configure access \u0026 local defaults](docs/aws.md))\n\n## Setup\n```bash\n$ git clone https://github.com/stphivos/django-angular2-fullstack-devops\n$ cd django-angular2-fullstack-devops\n\n$ vim vars          # Edit project variables based on your project\n$ ./devops setup    # Equivalent to `vagrant up` the first time, except that it destroys and re-creates the machine\n$ vagrant ssh       # Log into the virtual machine. See all vagrant commands: https://www.vagrantup.com/docs/cli/\n```\n\n## Run\n\n### Frontend\n```bash\n$ cd frontend\n$ npm start\n```\n[README..](frontend/README.md)\n\n### Backend\n```bash\n$ cd backend\n$ ./manage.py runserver\n```\n[README..](backend/README.md)\n\n## Devops\n\n### Build\n\nThe first time:\n```bash\n$ ./devops build dev            # Calls commands below in the order shown\n```\n\nFor building a specific project, either of the following can be run separately:\n```bash\n$ ./devops build dev backend    # Uses packer/ansible to provision an amazon machine image (ami)\n$ ./devops build dev frontend   # Uses gulp to create a target environment distribution\n```\n\n### Deploy\n\nThe first time:\n```bash\n$ ./devops deploy dev           # Calls commands below in the order shown\n```\n\nAfter updating a specific component, either of the following can be run separately:\n```bash\n$ ./devops deploy dev core      # Uses terraform to launch shared infrastructure such as vpc/gateway/subnets etc.\n$ ./devops deploy dev rds       # Uses terraform to launch a db instance on RDS\n$ ./devops deploy dev backend   # Uses terraform to launch an EC2 instance and load balancer for the backend api\n$ ./devops deploy dev frontend  # Uses aws-cli to upload the frontend static files to a bucket on S3\n```\n\n### Examples\n\nRebuild and deploy frontend for prod environment:\n```bash\n$ ./devops pipeline prod frontend  # ~30 seconds\n```\n\nRebuild and deploy backend for prod environment:\n```bash\n$ ./devops pipeline prod backend  # ~7 minutes\n```\n\n## Credits\n* Frontend seed - slightly modified version of [mgechev/angular2-seed](https://github.com/mgechev/angular2-seed)\n* Ansible playbook for Django - based on [jcalazan/ansible-django-stack](https://github.com/jcalazan/ansible-django-stack)\n","funding_links":[],"categories":["vagrant"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstphivos%2Fdjango-angular2-fullstack-devops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstphivos%2Fdjango-angular2-fullstack-devops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstphivos%2Fdjango-angular2-fullstack-devops/lists"}