stockpile/spawn_redis_server.sh

11 lines
360 B
Bash
Executable File

#!/bin/sh
#
# DON'T EDIT THIS!
#
# CodeCrafters uses this file to test your code. Don't make any changes here!
#
# DON'T EDIT THIS!
currentLoc=$(pwd)
node app/bootstrap.js init --name "stockpile-db" --port 6379 --configpath $currentLoc/stockpile.json --dumppath $currentLoc/stockpile.db
exec node app/bootstrap.js start --configpath $currentLoc/stockpile.json