issues
search
Makes-Innovation-Hub
/
code-genie-bot
telegram bot for code genie
MIT License
0
stars
0
forks
source link
use command line args to be able to run in dev env or prod env - bot
#27
Closed
yishain11
closed
1 month ago
yishain11
commented
1 month ago
DOD:
[x] add the ability to run the server with command line arguments - specificly "env"
[x] if no env CLA was provided - it will defualt to "dev"
[x] seperate all the env vars to prod and dev - mongo, server url, opeai key etc.
[x] update code to load env vars based on the env given
[x] update env var explenations in readme
[x] update run intructions in readme
[x] run all tests to make sure no functionality was hurt
[x] run all exsiting functionality flow with the server to make sure no functionality was hurt
DOD: