With noauth repo you'd do npm install; npm run build; and have the app in build folder. But you'd need to tweat .env variables before building: REACT_APP_WEB_PUSH_PUBKEY= web push public key, npm install web-push then web-push generate-vapid-keys --json (more at https://github.com/web-push-libs/web-push) REACT_APP_NOAUTHD_URL= address of the noauthd server REACT_APP_DOMAIN= domain name of your bunker (i.e. nsec.app) REACT_APP_RELAY= relay that you'll use, can use wss://relay.nsec.app - don't use public general-purpose relays, you'll hit rate limits very fast There is also a noauthd repo with server-side, tweak .env: PUSH_PUBKEY= web push public key, same as above PUSH_SECRET= web push private key that you generated above ORIGIN= address of the server itself, like http://localhost:8000 DATABASE_URL="file:./prod.db" BUNKER_NSEC= nsec of the bunker (needed for create_account methods) BUNKER_RELAY="wss://relay.nsec.app" - same as above BUNKER_DOMAIN="nsec.app" - same as above BUNKER_ORIGIN= where noauth is hosted Then run npx prisma migrate deploy to init db, and then run node -r dotenv/config src/index.js dotenv_config_path=.env
Thanks for the very exhaustiv answer nostr:nprofile1qyvhwumn8ghj7un9d3shjtnndehhyapwwdhkx6tpdshszrnhwden5te0dehhxtnvdakz7qghwaehxw309aex2mrp0yhxummnw3ezucnpdejz7qpqxdtducdnjerex88gkg2qk2atsdlqsyxqaag4h05jmcpyspqt30ws5jg057 :) I will look into it and give you feedback if I succeed to dockerize it ;)
Seems to be nearly working ;) How can I verify if everything is working please ? Is it possible to enable a verbose mode to know if I didn't messup with a variable ? Thanks ⚡️ https://i.nostr.build/VJRv.png