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

Project configuration file #3

Open
pingiun opened this issue Nov 27, 2017 · 2 comments
Open

Project configuration file #3

pingiun opened this issue Nov 27, 2017 · 2 comments

Comments

@pingiun
Copy link
Member

pingiun commented Nov 27, 2017

Sinas needs to be able to recognize project directories. I suggest we do this by looking for a sinas.yaml configuration file.

Yaml is a pretty good choice in my opinion, because advanced users are able to easily read it, and python can also easily read it (using PyYAML).

Let's discuss the format for the configuration file.

@pingiun
Copy link
Member Author

pingiun commented Nov 27, 2017

generator: jekyll # or hugo, eventually
baseurl: https://pingiun.com
host:
  - type: github
    repo: pingiun/pingiun.com
    private_key: ~/.ssh/private_key
  - type: sftp
    host: myhost.io
    user: user
    password: plaintextpasswordmaybe

@pingiun
Copy link
Member Author

pingiun commented Nov 28, 2017

@pingiun actually, we don't want the base url, because that's already in the jekyll config

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