2020-08-02 17:17:01 +00:00
|
|
|
# Automated deploy of django-todo project.
|
2020-08-02 17:01:04 +00:00
|
|
|
|
2020-08-02 17:03:13 +00:00
|
|
|
### Pre requires:
|
|
|
|
1. x86_64 deb based Linux distribution. Tested on Debian 9, but must work on any Debian based distro.
|
|
|
|
2. Internet access
|
|
|
|
3. GIT (`apt-get update && apt-get install -y git`)
|
|
|
|
4. Ansible (`apt-get update && apt-get install -y ansible`)
|
2020-08-04 16:30:00 +00:00
|
|
|
5. sudo (`apt-get update && apt-get install -y sudo`)
|
2020-08-02 17:03:13 +00:00
|
|
|
|
|
|
|
### Known bugs and limitation:
|
2020-08-02 17:17:01 +00:00
|
|
|
1. This solution not working on VirtualBox, but working fine on bare metal Debian installation.
|
2020-08-02 17:03:13 +00:00
|
|
|
|
|
|
|
### For start adventures:
|
|
|
|
1. Just clone this repo
|
|
|
|
2. Go to the repo directory
|
|
|
|
3. And type `./runme.sh` in your shell
|
|
|
|
|
2020-08-02 17:17:01 +00:00
|
|
|
### What happened after you run this script:
|
|
|
|
1. First of all, we install Minicube and deps with simple Ansible playbook (`bootstrap.yml`)
|
|
|
|
2. Booting Up Minicube with KVM backend
|
|
|
|
3. Building Docker image from Alpine Python 3.6 base (without tags, because CI/CD/hooks not implemented in this repo)
|
|
|
|
4. Installing our app set with Helm (with small customization of Bitnami's Postgres via `values.yaml`)
|
|
|
|
5. Exposing service via `minicube service`
|