AI-News-Team / AI-News

AI written news articles... what could possibly go wrong!
0 stars 0 forks source link

Simplify Local Environment #70

Closed aardhyn closed 1 year ago

aardhyn commented 1 year ago

These changes replace the per module .env and container.env files. They are not longer required; delete them--or copy them elsewhere while reviewing--as they may cause conflicts. Test first.

Local Environment

Use a single local.env file to define the environment for the modules.

copy template.local.env

cp template.local.env local.env
vim local.env

Run all the modules as normal.

Containerized Environment

Use a single virtual.env file to define the environment for the modules.

copy template.virtual.env

cp template.virtual.env virtual.env
vim virtual.env

Run make as normal.

Documentation

I've updated most of the README's lying around with the changes. Let me know if I've missed anything, or if the steps are not clear enough.

Deployment

The production environment will need to be updated to work with these changes.