Skip to content

censorship-no/dcomms-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dcomms

Decentralized communications that work with or without the Internet

Prerequisites

  • A pre-existing docker swarm already setup and configured is necessary for orchestration of this software service stack.
  • A domain to use for production.
  • A directory named /var/www/dcomms created on the hosts of all docker nodes for the website document root.
  • A subdomain with the A record pointed to the IP address of a node for automatic issuance of a Let's Encrypt SSL certificate.
  • A subdomain with the MX record pointed to the A record of a node for DeltaChat mail delivery.

Introduction

dcomms is a bundle of decentralized communication software running as services in the form of a docker swarm stack.

It is used to rapidly deploy and orchestrate decentralized, federated, communications platforms such as Matrix and DeltaChat across multiple hosts.

Let's Encrypt TLS certificates are automatically issued and managed by the Caddy container across all services.

Getting Started

Please see the main dcomms repo for code and instructions on how to deploy the services. This README instructs on how to deploy the website, https://dcomm.net.ua

The frontend website uses Nuxt.js.

  1. Clone the repo:
git clone [email protected]:censorship-no/dcomms-web.git
  1. Navigate to the front-end folder:
cd front/
  1. Install dependencies:

Use pnpm manager https://pnpm.io/installation

pnpm i
  1. For initial compilation use:
pnpm dev

Apps open in standard port http://localhost:3000

  1. For production, you need to generate static files:
pnpm generate

Development

  • Static files are in the /static/ directory
  • If you want to add a service, use /store/index.js
  • Translate interface in the /lang/ directory

For a detailed explanation on how things work, check out the documentation.

Contributing

We welcome contributions, feature requests and bug reports in the issue tracker.

License

All content is licensed under the GNU Public License v.3.0.