Skip to content
This repository was archived by the owner on Sep 30, 2023. It is now read-only.

Commit c5d0d9d

Browse files
authored
Merge pull request #11 from orbitdb/feat/docs-and-linting
Community documentation edits and linting
2 parents 72d93ca + a99001e commit c5d0d9d

File tree

6 files changed

+1316
-23
lines changed

6 files changed

+1316
-23
lines changed

CODE_OF_CONDUCT.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at [community@orbitdb.org](mailto:community@orbitdb.org), which goes to all members of the @OrbitDB community team, or to [richardlitt@orbitdb.org](mailto:richardlitt@orbitdb.org), which goes only to [@RichardLitt](https://github.com/RichardLitt) or to [haadcode@orbitdb.org](mailto:haadcode@orbitdb.org), which goes only to [@haadcode](https://github.com/haadcode).
59+
60+
All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
61+
62+
Project maintainers who do not follow or enforce the Code of Conduct in good
63+
faith may face temporary or permanent repercussions as determined by other
64+
members of the project's leadership.
65+
66+
## Attribution
67+
68+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
69+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
70+
71+
[homepage]: https://www.contributor-covenant.org

README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,49 @@
11
# orbit-db-keystore
22

3+
[![](https://img.shields.io/badge/freenode-%23orbitdb-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23orbitdb)
4+
[![npm version](https://badge.fury.io/js/orbit-db-keystore.svg)](https://www.npmjs.com/package/orbit-db-keystore)
5+
[![node](https://img.shields.io/node/v/orbit-db-keystore.svg)](https://www.npmjs.com/package/orbit-db-keystore)
6+
37
> A local key manager for orbitdb
48
9+
## Install
10+
11+
```sh
12+
$ npm install --save orbit-db-keystore
13+
```
14+
15+
## Usage
16+
17+
TODO
18+
19+
### Tests
20+
21+
The tests for this repository are included in the [orbitdb/orbit-db](https://github.com/orbitdb/orbit-db) test suite. Go to that repo to find the relevant tests. Likewise, if any do not exist that should, add them there!
22+
23+
### Build
24+
25+
The build script will build the distribution file for browsers.
26+
27+
```sh
28+
$ npm run build
29+
```
30+
31+
### Linting
32+
33+
Please use [`standard`](https://standardjs.com). To check,
34+
35+
36+
```sh
37+
$ npm run lint
38+
```
39+
40+
## Contribute
41+
42+
Please, feel free to contribute! Take a look at [the issues](https://github.com/orbitdb/orbit-db-keystore/issues), and comment on an existing issue or create a new one if you have questions, bugs, or suggestions. For larger PRs, open an issue first if you could - drive-by PRs are also welcomed.
43+
44+
Please abide by the [Code of Conduct](CODE_OF_CONDUCT.md). For more on contributing to OrbitDB, check out the docs in [orbitdb/welcome](https://github.com/orbitdb/welcome).
45+
46+
547
## License
648

749
[MIT](LICENSE) © 2017-2018 Haja Networks Oy

0 commit comments

Comments
 (0)