Can you use install.sh for a realtime server? If not how do you install npm dependencies?
Realtime is slightly different and currently does not support custom install scripts.
However, because Realtime is using Node under the hood, you can just npm --install your dependencies locally and then zip up the node_modules required with your script ie
- – server.js
- – node_modules/
Node starts searching for your node_modules from the path relative to your script. This should be in the documentation, will make sure it gets added if missing.
I see you have a related question about having problems packing multiple files in a script: