Note that while stick uses git, it is not required to have git installed.
Initialize one or more notebooks, specifying where the repository should be created.
If you would like to use an existing git repository, you may skip this step.
stick init /home/stick/notes/johnsnotes
stick is configured via ~/.config/stick/stick.yml (or elsewhere when specified with the --config flag)
Used when hashing data (set to a random string)
Serve notebooks on this address (host:port)
List of authors, specified by email and name
List of notebooks, specified by label. Options include:
Path to git repository
List of authors (specified by email) and their access level, which is one of the following:
Including an author named
public will share the notebook publicly.
# Used when hashing data (set to a random string) salt: xXxsh3cr3txXx # Serve notes on localhost only # Set to :9991 to serve on all interfaces (not recommended, use a reverse proxy instead) serve: localhost:9991 # Authors are defined by email and name (used when committing) authors: email@example.com: John Doe firstname.lastname@example.org: Jane Doe # Notebooks can be shared between authors with varying access levels # When an access level isn't specified, read-only is assumed # John's notebook allows read/write access to himself and read-only access to Jane notebooks: John's notes: repo: /home/stick/notes/johnsnotes serve: - email@example.com: write - firstname.lastname@example.org Jane's notes: repo: /home/stick/notes/janesnotes serve: - email@example.com: write - firstname.lastname@example.org Shared notes: repo: /home/stick/notes/shared serve: - email@example.com: write - firstname.lastname@example.org: write Public notes: repo: /home/stick/notes/public serve: - email@example.com: write - firstname.lastname@example.org: write - public