mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
add helper scripts for mongodb
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
DB_PATH="${DIR}/../.mongodb"
|
||||
DB_PATH="${DIR}/../.hyperopt/mongodb"
|
||||
|
||||
mkdir -p ${DB_PATH}
|
||||
mongod --dbpath ${DB_PATH} \
|
||||
mkdir -p "${DB_PATH}"
|
||||
mongod --dbpath "${DB_PATH}" \
|
||||
--bind_ip 127.0.0.1 \
|
||||
--port 1234 \
|
||||
--directoryperdb \
|
||||
|
||||
Reference in New Issue
Block a user