You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
348 B

#!/bin/bash
MUDBASE_DB_CONFIG=$(printenv MUDBASE_DB_CONFIG)
if [ -z "$MUDBASE_DB_CONFIG" ]; then
echo "Cannot start MuDBase without a database configuration." >&2
echo "Please set the MUDBASE_DB_CONFIG env variable to a valid" >&2
echo "Knex.js config JSON object." >&2
exit 1
fi
echo "Starting MuDBase..."
cd server && npm start