# Magic App
A swarm of dreams.
## Proof Of Concept
- [x] List apps from an `app.json` (points to https://git.autonomic.zone/compose-stacks)
- [x] Clone selected app template and parse configuration for inputs (env vars and secrets)
- [ ] Generate a form so those values can be filled out and allow it to be saved
- [ ] Save the form inputs to a `db.json`
- [ ] Deploy an applicaiton to a local swarm (assumes access to local docker socket)
- [ ] Create an "edit app" page where the `db.json` is re-called and can be updated
- [ ] Make sure re-deploy works (taking care of updating secret and app versions)
### Development
```bash
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
$ python one.py / two.py / three.py
```