stockpile/spawn_redis_server.sh

11 lines
332 B
Bash
Raw Permalink Normal View History

2023-05-07 19:25:03 +00:00
#!/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)
2023-05-09 05:18:37 +00:00
yarn app init --name "stockpile-db" --port 6379 --configpath $currentLoc/stockpile.json --dumppath $currentLoc/db/stockpile.db
2023-05-09 05:24:11 +00:00
yarn app start --configpath $currentLoc/stockpile.json