This section of the documentation contains a guide for technical users who want to contribute code or documentation to the Vaxx.nz. As a community, we share rules of behavior and interaction. Make sure you are familiar with the community guidelines before continuing.
Users who are new to development should start by setting up their environment. Then, they should try a simple code change. After that, you should find something to work on or propose a totally new change.
If you are a programming prodigy, you still may find this documentation useful. Please feel free to skim past information you find obvious or boring.
To contribute to the Vaxxnz project, you will need a GitHub account. A free account is fine. All the Vaxxnz repositories are public and visible to everyone.
You should also have some experience using both the GitHub application and git
on the command line. But if you prefer, there's a GUI version available too.
Install git
on your local system. You can check if git
is on already on your
system and properly installed with the following command:
$ git --version
Your version may be different depending on your OS.
Before contributing, you first fork the Vaxxnz code repository. A fork copies a repository at a particular point in time. GitHub tracks for you where a fork originates.
As you make contributions, you change your fork's code. When you are ready, you make a pull request back to the original Vaxxnz repository. If you aren't familiar with this workflow, don't worry, you can contact us at Discord for help.
We recommend VSCode for development use. Our team uses Yarn as package manager instead of NPM so make sure you installed it locally. We also use Prettier to ensure consistent code formatting, please make sure your code is formatted before submitting a pull request (VSCode has an extension that can run on save).
Make sure you have these tools installed locally:
-
Have a look at good first issues. It's a list of issues which are more straight forward than other ones and easier to get started with.
-
Have a look at other open issues and see if anyone needs any help investigating a problem or bug
-
Review our roadmap and join the discussion
-
Propose a new idea or feature by Creating an issue
Clone your fork repo to local machine and navigate to the repo from commandline
Install dependency with command yarn install
Available Commands:
-
yarn start
- starts the development server with hot reloading enabled -
yarn build
- bundles the code
Once you see the message:
Compiled successfully!
You can now view vaxxnz in the browser.
Local: http://localhost:3000
On Your Network: http://192.168.1.6:3000
Note that the development build is not optimized.
To create a production build, use yarn build.
You are good to start coding!
When you make a Pull Request, we would highly appreciate if you tick this checkbox:
This will allow us to push a commit to your branch if you accidentally made a mistake! That makes the process smoother by avoiding back-and-forth.
If you need any help, we have our Discord Server. Feel free to join and ask us anything, we don't bite!
If you need some guidance of what to do or are stuck on an issue feel free to message in the #dev channel or @Oliver for help.