Skip to content

Work In Progress: Bootstrap any server to serve multiple django api + spa apps

Notifications You must be signed in to change notification settings

aalekseev/fun-with-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WIP: Server bootstrapping with Ansible

Stack

  • nginx
  • postgres
  • supervisor
  • gunicorn
  • django
  • ansible
  • vagrant

Install

vagrant up

Next

  • localhost:8080 serves index.html
  • localhost:8080/api/v1/index serves django api endpoints

Project structure

├── Vagrantfile
└── provisioning
    ├── default.retry
    ├── default.yml
    └── roles
        ├── backend
        │   ├── tasks
        │   │   └── main.yml
        │   ├── templates
        │   │   ├── local_settings.j2
        │   │   ├── nginx.j2
        │   │   └── supervisor.j2
        │   └── vars
        │       └── main.yml
        ├── base
        │   └── tasks
        │       └── main.yml
        ├── nginx
        │   ├── files
        │   │   ├── index.html
        │   │   └── nginx.conf
        │   ├── handlers
        │   │   └── main.yml
        │   ├── tasks
        │   │   └── main.yml
        │   └── templates
        │       └── nginx.conf.j2
        └── postgres
            ├── handlers
            │   └── main.yml
            └── tasks
                └── main.yml

About

Work In Progress: Bootstrap any server to serve multiple django api + spa apps

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published