This repository has been archived on 2020-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
2020-06-30 18:37:10 +00:00
|
|
|
# Magic App
|
2020-06-30 18:08:20 +00:00
|
|
|
|
|
|
|
A swarm of dreams.
|
2020-06-30 18:28:47 +00:00
|
|
|
|
2020-06-30 19:14:06 +00:00
|
|
|
## Proof Of Concept
|
2020-06-30 19:10:52 +00:00
|
|
|
|
2020-07-01 08:40:54 +00:00
|
|
|
- [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
|
2020-06-30 19:10:52 +00:00
|
|
|
- [ ] 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)
|
|
|
|
|
2020-07-01 08:40:54 +00:00
|
|
|
### Development
|
2020-06-30 18:28:47 +00:00
|
|
|
|
|
|
|
```bash
|
2020-07-01 08:40:54 +00:00
|
|
|
$ python3 -m venv .venv
|
|
|
|
$ source .venv/bin/activate
|
2020-06-30 18:28:47 +00:00
|
|
|
$ pip install -r requirements.txt
|
2020-07-01 17:57:24 +00:00
|
|
|
$ python first.py / second.py / third.py
|
2020-06-30 18:48:47 +00:00
|
|
|
```
|