General clean up

This commit is contained in:
2023-04-16 22:54:27 -04:00
parent 7bdfe41aa1
commit 3e6c8db324
6 changed files with 46 additions and 6 deletions

View File

@@ -25,25 +25,40 @@ sudo chown -R scott:scott /srv/env/test_aether/srv/mariadb/
cp /srv/env/test_aether/.env /srv/env/test_aether/.env.bak
cp /srv/env/test_aether/.env.default /srv/env/test_aether/.env
```
**/.env**
```sh
**/.env [very basic example]**
```cnf
# One Sky IT's Aether Framework and System
OSIT_ENV=development
# Aether general shared config options
AE_CFG_ID=0
## Aether API access and use
## Aether DB access and use
AE_DB_PASSWORD="the password with $$ escape"
## Aether Redis access and use
## Aether SMTP access and use
# Aether API specific config options (FastAPI)
# Aether app specific config (Flask with Svelte)
AE_APP_CFG_ID=0
KEY="The Value"
```
#### Part 4 - Still figuruing things out...
Update /etc/hosts with something like this.
```cnf
127.0.0.1 dev-api.oneskyit.com dev-app.oneskyit.com
127.0.0.1 dev-demo.oneskyit.com dev-businessgroup.oneskyit.com dev-ishlt.oneskyit.com
```
* Nothing in aether_flask_gunicorn_conf.py needs to be changed?
* Nothing in aether_fastapi_gunicorn_conf.py needs to be changed?
* Nothing in aether_api_config.py needs to be changed?
* Nothing in aether_app_config.py needs to be changed?
## Manage Docker Compose Environment
```bash
@@ -52,8 +67,12 @@ docker restart ae_app_dev
docker restart ae_mariadb_dev
```
---
## More Notes