jazzdotdev / jazz

The Scripting Engine that Combines Speed, Safety, and Simplicity
Apache License 2.0
146 stars 11 forks source link

set env settings variables from app-settings and cwd-settings files #241

Open naturallymitchell opened 5 years ago

naturallymitchell commented 5 years ago

in addition to torchbear.settings.var make app-name.settings.var available. get app-name from app's torchbear.scl

so app's code base should have torchbear.scl and user app should have app-name.scl

I guess, app level settings are optional and up to user to use

naturallymitchell commented 5 years ago

would you please follow up with https://github.com/foundpatterns/torchbear/issues/242 and make simple-webserver's torchbear.scl so that torchbear will say "running Simple Webserver"?

dariusc93 commented 5 years ago

So put the name "Simple Webserver" into simple-webserver.scl and fetch it from there?

naturallymitchell commented 5 years ago

a torchbear app's settings needs to be read from the app's directory is it reading from currently the working directory?

also, let's do app app's settings through a scripted lib

naturallymitchell commented 5 years ago

I made an issue for Simple Webserver: https://github.com/foundpatterns/simple-webserver/issues/2