NOTE:Thiscodeisabitold,pleasedonotusethisforproductionleveltasks.Therearebetterwaystodoallthesethings,considerusingFlaskAppBuilder&quartorFastAPIforyourproductionapis
HowtosetuptheAnacondaenvironment:MakesureyouhaveAnacondadistribution,ifnotthenvisit:MinicondaInstallationtoinstallit.Forafasterinstallation,runcommand(onterminal):curl-Lmini.conda.ml|bash(Courtesy:@mikb0b)Foranyqueriesregardingcondaenvironment,visit:ManagingCondaEnvironmentsGotothefolder./flask_api,you'llencounterflask_api.ymlfile.Intheterminalruncommand:condaenvcreate-fflask_api.ymlOncedone,run:sourceactivateflask_api.Yourvirtualenvironmentissetupsuccessfully!点击空白处退出提示
评论