Skip to content

dapnet-core/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-based DAPNET node setup

This version is currently in development, especially the new frontend is not fully functional right now.

To run the "old" setup using web as frontend, checkout this commit

Requirements

  • Docker
  • Docker Compose

Startup Procedure

  1. Make sure you cloned all submodules (see here for instructions)
  2. Copy config/config.env.example into config/config.env and enter your node settings
  3. Run
docker-compose up
  1. If all 5 services started, rabbitmq will repeatedly emit errors. To fix them, add your node to CouchDB. Login credentials are set in the config.env file from step two. Navigate to this page and replace the values in the following template, then paste it into the 'New document' form:
{
  "_id": "<NODE_NAME>",
  "auth_key": "<NODE_AUTHKEY>"
}
  1. After that, ask someone else who runs a node to add your node so replication can begin.

Development

Frontend

Set it up manually and use http://localhost:888 as api server as described in the README inside the frontend folder.

Api service

Its easiest to just use the api container itself using VSCode's Attach to Container feature. The files are in /app/ and hot reloading works (from outside the container too), so you don't have to restart the conatiner to apply changes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published