issues
search
Makes-Innovation-Hub
/
code-genie-server
server 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 - server
#32
Closed
yishain11
closed
3 months ago
yishain11
commented
3 months 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 bot to make sure no functionality was hurt
DOD: