mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
1.3 KiB
1.3 KiB
Contributing Guide
Read this guide before opening a pull request.
Table of Contents
Prerequisites
You'll need the following software installed to develop for FireZone:
- Vagrant
- Ansible
- VirtualBox
- asdf VM
- A recent version of PostgreSQL server installed and running
- dotenv functionality for your shell
Project Setup
- Ensure Postgres is running with a superuser role of
firezone. E.g.
$ psql -h localhost -d postgres
> CREATE ROLE firezone;
- Install the language versions defined in
.tool-versions:
# Run this from the project root
$ asdf install
- Resolve dependencies
$ mix deps.get
$ npm install --prefix apps/fz_http/assets
- Bootstrap DB
$ mix ecto.setup
- Launch Server
mix phx.server
Testing
Run tests with mix test from the project root.