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

create default provider config in the global config #12

Open
gkpty opened this issue Aug 13, 2020 · 0 comments
Open

create default provider config in the global config #12

gkpty opened this issue Aug 13, 2020 · 0 comments

Comments

@gkpty
Copy link
Contributor

gkpty commented Aug 13, 2020

in ~/.torus/config add the following:

[default_providers]
domain=other
bucket=aws
dns=aws
cdn=aws
https=aws

[default_options]
index=index.html
error=error.html

if a local config doesnt exist in the project at arjan_config/config.json
then it will write one with the follwoing values; these values will be copied from the values in your global config.

const config = {
  index:"index.html",
  error:"error.html",
  providers: {
    domain: 'other',
    bucket: 'aws',
    cdn: 'aws',
    dns: 'aws',
    https: 'aws'
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant