Commit db71fbc8 authored by Keefer Rourke's avatar Keefer Rourke

documented build/usage info; updated Makefile

Makefile now installs dependencies via `go get`.
parent b501529d
......@@ -9,6 +9,9 @@ BIN = tokumei
.PHONY: all backend frontend config clean test
go get -u
go get -u
go get -u
go build -i -o $(BIN) ./cmd
# build Tokumei and get the front-end dependencies
......@@ -41,6 +41,48 @@ accounts. Tokumei's account-less system has shown to be an effective way
to avoid bias in discussion, on the premise that when all information is
treated equally, only an interesting post or an accurate argument works.
This project is in an odd state in that it is currently not
`go get`-able. The following are the build instructions until such a
time that v2.x replaces v1.x on the master branch of this repository.
The following sequences of commands assume that your `GOPATH` is set
correctly. This is usually `~/go`.
First, checkout the repository and switch to the correct branch.
git clone \
git checkout -b tokumei-go && git pull
Once you have done this, you can use the project's provided Makefile to
automate retrieval of dependancies and to create the server executable.
make backend # fetches dependencies and builds server
make frontend # installs materialize and jquery to expected paths
make all # do it all at once
make clean # remove the tokumei binary
make test # run `go test -cover` on testable packages
*Note:* The server backend is under heavy development, and the frontend
has not caught up to the changes that have been made to templating since
v1.x. Do not rely on the web GUI for functionality at this time.
Once you've installed `tokumei`, you'll have a single binary sitting at
the path `$GOPATH/`. Whew. It must be
run from its parent directory as follows:
./tokumei & # start server on localhost:3003
Advanced usage can be checked with `./tokumei --help`.
......@@ -57,7 +99,11 @@ version 2.x+
Tokumei v2.x is currently being rewritten in [Go](
The new version of Tokumei aims to be faster, easier to work with,
better organized, and easier to install.
better organized, and easier to install. It is currently in a
**pre-alpha** development stage.
The v2.x series follows semantic versioning. You can check the current
version of Tokumei with `./tokumei --version`.
Development Roadmap
......@@ -83,6 +129,7 @@ implemented, we will be looking at:
* Other features:
+ Have a feature request? [Let us know!](
Tokumei 2.x is currently in **pre-alpha**.
......@@ -125,18 +172,38 @@ See for more assets.
Clone the git repository using:
git clone
git clone
E-mail patches generated with `git format-patch` to [email protected]
By doing so, you place your patches under the ISC license.
Tokumei *deliberately* does not have a Code of Conduct. Contributers are
expected to conduct themselves as human beings/robots accordingly.
Follow the instructions above to clone and install Tokumei. You may
follow the same procedure for contributions as above, or submit a merge
request at <>.
If you think you've found a security vulnerability within Tokumei v1.x,
please email <[email protected]> with a description of the problem and
your proposed fixes. They will be addressed as quickly as possible.
For security issues with v2.x alpha, feel free to open an issue on the
GitLab Issue Tracker at <>.
Code of Conduct
Tokumei deliberately does not have a Code of Conduct. Contributers are
expected to conduct themselves as human beings/robots accordingly. We
reserve the right to reject patches for any reason.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment