mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-12-03 12:04:04 +01:00
deploy: set default db_storage_path
This commit is contained in:
@@ -48,7 +48,7 @@ npm install
|
|||||||
npm install -g pm2
|
npm install -g pm2
|
||||||
openssl req -subj "/C=IT/ST=Pool/L=Daemon/O=Mining Pool/CN=mining.pool" -newkey rsa:2048 -nodes -keyout cert.key -x509 -out cert.pem -days 36500
|
openssl req -subj "/C=IT/ST=Pool/L=Daemon/O=Mining Pool/CN=mining.pool" -newkey rsa:2048 -nodes -keyout cert.key -x509 -out cert.pem -days 36500
|
||||||
mkdir ~/pool_db/
|
mkdir ~/pool_db/
|
||||||
cp config_example.json config.json
|
sed -r "s/(\"db_storage_path\": ).*/\1\"\/home\/$CURUSER\/pool_db\/\",/" config_example.json > config.json
|
||||||
cd ~
|
cd ~
|
||||||
git clone https://github.com/mesh0000/poolui.git
|
git clone https://github.com/mesh0000/poolui.git
|
||||||
cd poolui
|
cd poolui
|
||||||
|
|||||||
Reference in New Issue
Block a user