diff --git a/README.md b/README.md index 6e9ff9b..56fd2d1 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,22 @@ mkdir $HOME/.nsecbunker-config ``` ### Start nsecbunkerd + ``` docker run -d --name nsecbunkerd -v $HOME/.nsecbunker-config:/app/config pablof7z/nsecbunkerd start --admin +docker compose exec nsecbunker npx prisma db push +``` + +#### Docker-compose +Edit `docker-compose.yml` and add your nostrpublic key in `command` directive, like `start --admin npub1nftkhktqglvcsj5n4wetkpzxpy4e5x78wwj9y9p70ar9u5u8wh6qsxmzqs` + +And start the container +``` +docker compose up -d docker exec -i nsecbunkerd npx prisma db push ``` + ### Get the connection string ``` @@ -100,4 +111,4 @@ nsecbunker-client sign "hi, I'm signing from the command line with # License CC BY-NC-ND 4.0 -Contact @pablof7z for licensing. \ No newline at end of file +Contact @pablof7z for licensing.