This file may be out of date as the installation method might be changing over time. Please open an issue on GitHub if you hit any problems
Currently, the recommended method of installing VerifyWise is via Docker. A development environment can also be set up via npm
. Both options are described below.
In order to use VerifyWise via Docker, you will need a .env
file and a docker-compose.yml
file.
To set up VerifyWise in Docker, do the following:
- From the root of our GitHub repository, download
.env
,docker-compose.yml
andSQL_Commands.sql
. - Move all the downloaded files to the directory where your VerifyWise container will be running. This directory will be referred to as your working directory from now on.
- Start your local Docker instance.
- In your working directory, open bash terminal.
- Run
chmod +x ./install.sh
followed by./install.sh
.
NOTE: The .env
file is configured as per the default settings. Alternatively, you can supply your own .env
file.
Developers may prefer to run the VerifyWise server and client separately via npm
.
To run VerifyWise's server and client via npm
, follow these steps:
- Fork our GitHub repository.
- Clone your fork of the VerifyWise repository.
- From the root directory of the repository (
./
), go to./Clients
and runnpm i; npm run dev
. The VerifyWise client will start. - From the root directory of the repository, go to
./Servers
and runnpm i; npm run watch
. The VerifyWise server will start.
You can now access the VerifyWise frontend by navigating to https://localhost/5173
on a local web browser.