freqtrade_origin/scripts/start-mongodb.sh
2017-11-25 03:28:18 +01:00

13 lines
269 B
Bash
Executable File

#!/bin/bash -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DB_PATH="${DIR}/../.hyperopt/mongodb"
mkdir -p "${DB_PATH}"
mongod --dbpath "${DB_PATH}" \
--bind_ip 127.0.0.1 \
--port 1234 \
--directoryperdb \
--journal \
--nohttpinterface