- download the mobilecoin submodule (
git submodule update --init --recursive
from the base of the repo) - change into the scripts directory (
cd scripts
from the base of the repo) - download the css files for the network you're planning to use (
sh get-testnet-consensus-css.sh
for testnet). You will need to redownload the appropriate css file when switching networks, but otherwise need to run this only once. - start up the mobilecoind application to create a local mobilecoin ledger (
sh mobilecoind-testnet.sh
for testnet). - Wait for the application to finish syncing.
(if following from the previous section, open a new command line window for the following steps)
- Copy the contents of the network's config file into the base config file (
cp testnet.gnosis-safe.json gnosis-safe.json
from the base of the repo for testnet) - Navigate to the scripts directory within the reserve-auditor repo (
cd scripts
from the base of the repo) - Start up the Ledger Scanning Layer (
sh start-scanning-layer.sh
) - Wait for the scanning layer to finish scanning the mobilecoin local ledger
(if following from the previous section, open a new command line window for the following steps)
- (skip if performed in previous section) Copy the contents of the network's config file into the base config file (
cp testnet.gnosis-safe.json gnosis-safe.json
from the base of the repo for testnet) - Navigate to the scripts directory within the reserve-auditor repo (
cd scripts
from the base of the repo) - Start up the Http Server (
sh start-http-server.sh
)
(if following from the previous section, open a new command line window for the following steps)
- (skip if already installed) Install Yarn (
npm install yarn
) - Navigate to the frontend directory within the reserve-auditor repo (
cd frontend
from the base of the repo) - Download the required packages (
yarn
from the frontend directory) - Start the front end (
yarn start-testnet
for testnet). Alternate starting and building commands can be found within thefrontend/package.json
file.