From 2c36759b5fd64192d6e33bda97f4b77b3066f1b2 Mon Sep 17 00:00:00 2001 From: Snipa22 Date: Tue, 14 Feb 2017 08:52:54 -0800 Subject: [PATCH] Update deploy.bash --- deployment/deploy.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/deploy.bash b/deployment/deploy.bash index 6f9836e..7b5a738 100644 --- a/deployment/deploy.bash +++ b/deployment/deploy.bash @@ -51,7 +51,7 @@ mkdir ~/pool_db/ cp config_example.json config.json cd ~ git clone https://github.com/mesh0000/poolui.git -cd xmrpoolui +cd poolui npm install cd app sudo ln -s `pwd` /var/www @@ -89,4 +89,4 @@ mysql -u root --password=$ROOT_SQL_PASS < deployment/base.sql mysql -u root --password=$ROOT_SQL_PASS pool -e "INSERT INTO pool.config (module, item, item_value, item_type, Item_desc) VALUES ('api', 'authKey', '`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`', 'string', 'Auth key sent with all Websocket frames for validation.')" mysql -u root --password=$ROOT_SQL_PASS pool -e "INSERT INTO pool.config (module, item, item_value, item_type, Item_desc) VALUES ('api', 'secKey', '`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`', 'string', 'HMAC key for Passwords. JWT Secret Key. Changing this will invalidate all current logins.')" pm2 start init.js --name=api --log-date-format="YYYY-MM-DD HH:mm Z" -- --module=api -echo "You're setup! Please read the rest of the readme for the remainder of your setup and configuration. These steps include: Setting your Fee Address, Pool Address, Global Domain, and the Mailgun setup!" \ No newline at end of file +echo "You're setup! Please read the rest of the readme for the remainder of your setup and configuration. These steps include: Setting your Fee Address, Pool Address, Global Domain, and the Mailgun setup!"