core

command module
v0.0.0-...-b84af7b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2022 License: Apache-2.0 Imports: 29 Imported by: 0

README

Go Go Report Card

What is Anzu?

Anzu is an open source software project designed to create communities. Simple, reactive, and performant forums software.

This repository contains the core backend code and the frontend as a git submodule inside static/frontend.

While usable in production (we've run it ourselves in buldar.com quite smoothly for 5 years) this forums platform is in early stages of development, and it may change suddenly, we're finding our way to define a first stable version.

For install previous knowledge about the stack (golang, mongodb, redis) is required to set things up.

Anzu alpha post

Anzu's stack

Contribute

Installation

Download dependencies

The first step is to download Go, official binary distributions are available at https://golang.org/dl/.

Now you need to download and configure MongoDB and Redis. Alternatively you can use remote servers.

Download the repositories

Download the core in any path.

Initialize the repo submodule, so the frontend is in static/frontend.

git submodule update --init --recursive

Install the core dependencies with go build.

Install the frontend dependencies with npm install.

Configure

Copy the .env.example file into .env and edit it to meet your local environment configuration.

Last steps

Building the frontend before getting started is required, to do so, execute npm install && npm run build inside static/frontend submodule. Once the frontend is built you can build the backend program with go build -o anzu and then execute ./anzu api to run anzu's http web server.

Commits

We follow the Conventional Commits specification, which help us with automatic semantic versioning and CHANGELOG generation.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL