All Projects → stphivos → django-angular2-fullstack-devops

stphivos / django-angular2-fullstack-devops

Licence: MIT license
All-in-one django/angular2 seed with cli interface for multi-environment devops on aws using ansible/packer/terraform

Programming Languages

typescript
32286 projects
shell
77523 projects
HCL
1544 projects
python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to django-angular2-fullstack-devops

Jenkins Bootstrap Shared
Jenkins as immutable infrastructure made easy. A repository of shared scripts meant to be used as a git submodule. Packing Jenkins, plugins, and scripts into immutable packages and images.
Stars: ✭ 270 (+400%)
Mutual labels:  jenkins, vagrant
community-edition
Zebrunner is a Test Automation Management Tool
Stars: ✭ 171 (+216.67%)
Mutual labels:  infrastructure, jenkins
Ansible Playbooks
Ansible playbook collection that have been written for Ubuntu. Some of the playbooks are Elasticsearch, Mesos, AWS, MySql, Sensu, Nginx etc..
Stars: ✭ 429 (+694.44%)
Mutual labels:  jenkins, vagrant
drupalci-sonar-jenkins
DEPRECATED - Drupal CI environment with SonarQube and Jenkins for Drupal Core code analysis.
Stars: ✭ 40 (-25.93%)
Mutual labels:  jenkins, vagrant
devops-infra-demo
Growing repository of Infrastructure as Code demos (initially created for DevOps Wall Street)
Stars: ✭ 31 (-42.59%)
Mutual labels:  infrastructure, packer
vagrant-alm
An excerpt of an ALM environment built on top of Vagrant, Libvirt and Ansible
Stars: ✭ 44 (-18.52%)
Mutual labels:  jenkins, vagrant
Hybrid multicloud overlay
MutiCloud_Overlay demonstrates a use case of overlay over one or more clouds such as AWS, Azure, GCP, OCI, Alibaba and a vSphere private infrastructure in Hub and spoke topology, point to point topology and in a Single cloud. Overlay protocols IPv6 and IPv4 are independent of underlying infrastructure. This solution can be integrated with encryption and additional security features.
Stars: ✭ 127 (+135.19%)
Mutual labels:  jenkins, packer
learn-ansible-and-jenkins-in-30-days
Ansible + Jenkins in 30 days tutorial.
Stars: ✭ 35 (-35.19%)
Mutual labels:  jenkins, vagrant
infrastructure-as-code
anmolnagpal.com/infrastructure-as-code
Stars: ✭ 17 (-68.52%)
Mutual labels:  infrastructure, packer
mypaas
MyPaas is an Ansible playbook for startups or small companies which want to build a modern and fully automated infrastructure.
Stars: ✭ 24 (-55.56%)
Mutual labels:  infrastructure, jenkins
pipeline-as-code-with-jenkins
Pipeline as Code with Jenkins
Stars: ✭ 56 (+3.7%)
Mutual labels:  jenkins, packer
Zebrunner
Zebrunner is a Test Automation Management Tool
Stars: ✭ 131 (+142.59%)
Mutual labels:  infrastructure, jenkins
aws-pipeline
Build a CI/CD for Microservices and Serverless Functions in AWS ☁️
Stars: ✭ 32 (-40.74%)
Mutual labels:  jenkins, packer
ansible-roles
Library of Ansible plugins and roles for deploying various services.
Stars: ✭ 14 (-74.07%)
Mutual labels:  jenkins, vagrant
Book k8sInfra
< 컨테이너 인프라 환경 구축을 위한 쿠버네티스/도커 >
Stars: ✭ 176 (+225.93%)
Mutual labels:  jenkins, vagrant
Jenkins Vagrant
Vagrant Environment for a Jenkins Continuous Integration server
Stars: ✭ 34 (-37.04%)
Mutual labels:  jenkins, vagrant
cikit
Continuous Integration Kit (CIKit)
Stars: ✭ 21 (-61.11%)
Mutual labels:  jenkins, vagrant
generator-mitosis
A micro-service infrastructure generator based on Yeoman/Chatbot, Kubernetes/Docker Swarm, Traefik, Ansible, Jenkins, Spark, Hadoop, Kafka, etc.
Stars: ✭ 78 (+44.44%)
Mutual labels:  jenkins, vagrant
dinivas
AWS, GCP alternative on premise. Dinivas manage your private Cloud (OpenStack) infrastructure by providing many features based on popular Open Source projects
Stars: ✭ 15 (-72.22%)
Mutual labels:  infrastructure, packer
Toc
A Table of Contents of all Gruntwork Code
Stars: ✭ 111 (+105.56%)
Mutual labels:  infrastructure, packer

django-angular2-fullstack-devops

All-in-one django/angular2 seed with cli interface for multi-environment devops on aws using ansible/packer/terraform.

Save weeks or even months of work!

Features

  • Vagrant box
  • Ansible playbook
  • Devops cli interface
  • Travis CI configurations
  • Tests with code coverage
  • Isolated frontend/backend projects
  • Build virtual images with packer
  • Launch infrastructure using terraform
  • Central project variables configuration
  • Jenkins pipeline workflow server (TODO)

Stack

Frontend

  • Angular 2.0
  • TypeScript 1.8
  • Bootstrap 3.3

Backend

  • Django 1.9
  • PostgreSQL 9.4
  • Django REST Framework 3.3

Requirements

The following are needed for building and deploying your infrastructure:

Setup

$ git clone https://github.com/stphivos/django-angular2-fullstack-devops
$ cd django-angular2-fullstack-devops

$ vim vars          # Edit project variables based on your project
$ ./devops setup    # Equivalent to `vagrant up` the first time, except that it destroys and re-creates the machine
$ vagrant ssh       # Log into the virtual machine. See all vagrant commands: https://www.vagrantup.com/docs/cli/

Run

Frontend

$ cd frontend
$ npm start

README..

Backend

$ cd backend
$ ./manage.py runserver

README..

Devops

Build

The first time:

$ ./devops build dev            # Calls commands below in the order shown

For building a specific project, either of the following can be run separately:

$ ./devops build dev backend    # Uses packer/ansible to provision an amazon machine image (ami)
$ ./devops build dev frontend   # Uses gulp to create a target environment distribution

Deploy

The first time:

$ ./devops deploy dev           # Calls commands below in the order shown

After updating a specific component, either of the following can be run separately:

$ ./devops deploy dev core      # Uses terraform to launch shared infrastructure such as vpc/gateway/subnets etc.
$ ./devops deploy dev rds       # Uses terraform to launch a db instance on RDS
$ ./devops deploy dev backend   # Uses terraform to launch an EC2 instance and load balancer for the backend api
$ ./devops deploy dev frontend  # Uses aws-cli to upload the frontend static files to a bucket on S3

Examples

Rebuild and deploy frontend for prod environment:

$ ./devops pipeline prod frontend  # ~30 seconds

Rebuild and deploy backend for prod environment:

$ ./devops pipeline prod backend  # ~7 minutes

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].