981 B
981 B
Installation
Production Installation
Run this script for production deployment:
sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/DeBrosOfficial/node/refs/heads/main/scripts/install.sh)"
Local Development
For local development, we have a streamlined workflow:
# Clone the repository
git clone https://github.com/DeBrosOfficial/node.git
cd node
# Start the development environment
./scripts/start-dev.sh
This will:
- Automatically generate a
.env
file if it doesn't exist - Create development keys in the
keys/
directory - Start the Docker Compose development environment
Stop and Clean (optional for debugging)
Production
#!/bin/bash
sudo systemctl stop debros-node
sudo rm -rf /opt/debros-node
docker system prune -a
Development
# Stop containers
docker-compose -f docker-compose.dev.yml down
# Clean environment (optional)
rm -rf ./keys ./.env ./orbitdb ./blockstore ./logs