Skip to content

Commit

Permalink
feat: restructure contribution headings
Browse files Browse the repository at this point in the history
  • Loading branch information
yougotwill committed Feb 6, 2025
1 parent 3459972 commit dd81066
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ You're most likely to have your pull request accepted if it addresses an existin

Of course we encourage community developers to work on ANY issue filed on our Github regardless of how it’s tagged, however if you pick up or create an issue without the “Good first issue” tag it would be best if you leave a comment on the issue so that the core team can give you any guidance required, especially around UI heavy features or issues which require cross platform integration.

## Developer Setup Tips
## Development setup

## Node.js
### Tips

#### Node.js

You'll need a [Node.js](https://nodejs.org/) version which matches our current version. You can check [`.nvmrc` in the `unstable` branch](https://github.com/session-foundation/session-desktop/blob/unstable/.nvmrc) to see what the current version is.

Expand All @@ -27,7 +29,7 @@ If you use other node versions you might have or need a node version manager.
- Some node version management tools can read from the `.nvmrc` file and automatically make the change. If you use [asdf](https://asdf-vm.com/) you can make a [config change](https://asdf-vm.com/guide/getting-started.html#using-existing-tool-version-files) to support the `.nvmrc` file.
- We use [Yarn Classic](https://classic.yarnpkg.com) as our package manager. You can install it by running `npm install --global yarn`.

## Python
#### Python

You will need a [Python](https://www.python.org) version which matches our current version. You can check [`.tool-versions` in the `unstable` branch](https://github.com/session-foundation/session-desktop/blob/unstable/.tool-versions) to see what the current version is.

Expand All @@ -42,8 +44,6 @@ If you use other python versions you might have or need a python version manager
pip install setuptools
```

## Platform Specific Instructions

### Linux

- Depending on your distribution, you might need to install [hunspell](https://github.com/hunspell/hunspell) and your specific locale (`hunspell-<lang>`) e.g. `hunspell-en-au`.
Expand Down Expand Up @@ -248,7 +248,7 @@ Setup instructions for Windows using Chocolatey:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
```

### All platforms
## Build and run Session

Now, run these commands in your preferred terminal in a good directory for development:

Expand Down Expand Up @@ -288,7 +288,7 @@ yarn build:workers
yarn sass
```

## Multiple instances
### Running multiple instances

Since there is no registration for Session, you can create as many accounts as you
can public keys. Each client however has a dedicated storage profile which is determined by the environment and instance variables.
Expand Down Expand Up @@ -336,19 +336,19 @@ This will then set the `userData` directory to `[PROFILE_PATH]/Session-alice-pro
So you're in the process of preparing that pull request. Here's how to make that go
smoothly.

## Tests
## Testing

Please write tests! Our testing framework is
[mocha](http://mochajs.org/) and our assertion library is
[chai](http://chaijs.com/api/assert/).

The easiest way to run all tests at once is `yarn test`.

## Committing your changes
## Commit your changes

Before a commit is accepted the staged changes will be formatted using [prettier](https://prettier.io/) and linted using [eslint](https://eslint.org/). The commit will be reverted if files are formatted or lint errors are returned.

### Commit Message Convention
### Commit Message Conventions

This project follows [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)

Expand Down

0 comments on commit dd81066

Please sign in to comment.