Oddbean new post about | logout
 @hzrd149

Nostrudel.ninja loads really fast. Running it locally is very slow, makes over 700 HTTP connections before it loads. How can I run Nostrudel in production? 

Is there something else besides 
/usr/bin/yarn dev --host 
 nostr:nprofile1qqszv6q4uryjzr06xfxxew34wwc5hmjfmfpqn229d72gfegsdn2q3fgpz9mhxue69uhkummnw3ezuamfdejj7qg6waehxw309ahx7um5wgh8g6r9wdsk6etrv96zu6t09uqsuamnwvaz7tmwdaejumr0dshs9h69jx

nostr:nevent1qqsy9gwdrph7z8jtdyj3ewhvsnqd780lwas5323zm20m20djvakmwsqpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsygpncazz0uajku74uw8numyersfz54wjqsrjx4hhrkjf5r3qn7mfgqpsgqqqqqqsc805sm 
 yes, the dev version compiles every file individually. if you run "yarn build" then "npx serve dist" you will get the compiled production version

If you also have a web server you can copy the contents of the "dist" directory there to host nostrudel on the website