Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
naturallymitchell opened this issue Jan 27, 2019 · 4 comments

Comments

@naturallymitchell
Copy link
Member

naturallymitchell commented Jan 27, 2019

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
Copy link
Member Author

naturallymitchell commented Jan 31, 2019

would you please follow up with #242 and make simple-webserver's torchbear.scl so that torchbear will say "running Simple Webserver"?

@dariusc93
Copy link
Contributor

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

@naturallymitchell naturallymitchell changed the title read app-name.scl for variables set env settings variables from app-settings and cwd-settings files Feb 9, 2019
@naturallymitchell
Copy link
Member Author

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
Copy link
Member Author

I made an issue for Simple Webserver: jazzdotdev/static-file-webserver#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants