Spaces:
Running
Running
File size: 318 Bytes
519a20c |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
#!/bin/sh
if [ ! -e "config/config.yaml" ]; then
echo "Resource not found, copying from defaults: config.yaml"
cp -r "default/config.yaml" "config/config.yaml"
fi
# Execute postinstall to auto-populate config.yaml with missing values
npm run postinstall
# Start the server
exec node server.js --listen "$@"
|