@todo
See ARCHITECTURE.md for some documentation.
- Install CouchDB locally
- Set the server to point to the local database
cp sample.env .env
-
Edit
.env
appropriatly. You will probably need to setDB_PROTOCOL
,DB_USER
andDB_PASS
-
In the CouchDB Fauxton interface (probably http://127.0.0.1:5984/_utils/#/) create databases with the names set in
DB_DOC_NAME
andDB_LOOKUP_NAME
-
Start the server:
yarn install
yarn start
In the ./testdocs
directory there is a sample DID document and bash command to insert it into the DB. This is a good way to verify the server is working:
cd ./testdocs
./create_doc.sh
./get_doc.sh
./test_cases.sh