Crates.io | rust-nostr-server |
lib.rs | rust-nostr-server |
version | 0.1.0 |
source | src |
created_at | 2024-04-02 06:20:34.2568 |
updated_at | 2024-04-02 06:20:34.2568 |
description | A Discord bot using GPT-4 |
homepage | |
repository | |
max_upload_size | |
id | 1193257 |
size | 94,391 |
This project is based on the rust-nostr implementation and serves as a Nostr relay.
Ensure that you have Docker, docker-compose, and necessary script execution permissions on your system. If you intend to build and run without Docker, you also need the sh shell and the project's build dependencies installed.
Here's how you can set up and run the project:
Build the project: Use the provided shell script for building the project.
sh build.sh
Navigate to the output directory: The build output directory contains the compiled files and scripts.
cd output
Run the script: Execute the generated script to run the project.
sh script.sh
Build the Docker image: This uses the docker-compose.yml
configuration to create Docker image for the service.
docker-compose build
Start the service: This command starts the Docker service for the Nostr relay.
docker-compose up