diff --git a/deployment/deploy.bash b/deployment/deploy.bash index e085c2b..a68c78b 100644 --- a/deployment/deploy.bash +++ b/deployment/deploy.bash @@ -85,7 +85,7 @@ cd ~/nodejs-pool sudo chown -R $CURUSER. ~/.pm2 pm2 install pm2-logrotate mysql -u root --password=$ROOT_SQL_PASS < deployment/base.sql -mysql -u root --password=$ROOT_SQL_PASS pool -e "INSERT INTO monero_live.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 monero_live.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.')" +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 -- --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