Donorfide has a few installation options. These include:
- Binary installation
- Building from source
- and cloud provider deploy.
The easiest is binary installation.
Table of Contents
Binary Installation
Donorfide distributes several binaries, or single files that can be run to deploy Donorfide. These are available for the following architectures and operating systems:
Binaries
The Linux Intel 64-bit processor binary is suitable for use on most Linux servers, including (but not limited to) Ubuntu, Debian, Red Hat, and CentOS. The Windows Intel 64-bit processor binary is suitable for use on most Windows servers.
Linux Intel 64-bit processor Windows Intel 64-bit processor
Additional Binaries
These additional binaries are useful if you have a less conventional server setup.
Building from Source
Donorfide can be built from source using its source code, available at GitHub.
First, install the required software to build Donorfide. This includes the Go Programming Language, Node.js, and Yarn.
Next, clone the Donorfide repository.
$ git clone https://github.com/willbarkoff/donorfide.git # clone using HTTPS, or
$ git clone git@github.com:willbarkoff/donorfide.git # clone using SSH
The next step is to build the Donorfide client. It is required that the client be built before the server, as the server produces a binary including the contents of the client. Move to the client’s directory.
$ cd donorfide/client
Next, install the required dependencies.
$ yarn
Finally, create a production build of the client.
$ yarn build
This will create a build suitable for production in the directory donorfide/client/dist
. Once the client finishes building, you need to build the server. Move to the server’s directory.
$ cd ..
Next, install the required dependencies, and build and install Donorfide.
$ go get
$ go install
This will produce a Donorfide build at $GOPATH/bin/donorfide
.