Start daily rank from User Activity Rating Club.

in #steemit5 months ago

start, копия, копия.png

Hi all!
So, we have the first applicants for User Activity Rating from the User Activity Rating Club.

@madilyn02
@benton3
@dorismos

Each of them receives a welcome bonus of 2 STEEM from the User Activity Rating Club.

image.png

Thank you for joining the rankings. I invite you to join: https://steemit.com/hive-153018/@alexmove.witness/i-invity-you-to-join-user-activity-rating-club

Instructions for setting User Activity Rating..

git clone https://github.com/Alexmovelove/User-Activity-Rank.git

Config

nanoconfig.js
add:

exports.num_day = 0;
exports.wifkey = "xxxxxx";
exports.account = "xxxxxxxx";

var d = new Date(); //Today!
d.setDate(d.getDate()-exports.num_day); // Yesterday!
d = d.toJSON().split("T")[0];
d = d.replace(/-/gi, '');

exports.bd_name = "xxxxx";
exports.user_mysql = "xxxx";
exports.password_mysql = "xxxx";

Mysql

CREATE DATABASE club;

CREATE USER 'remote6'@'xxxx' IDENTIFIED BY 'xxxx';

grant all privileges on . to 'remote6'@'xxxx' with grant option;

FLUSH PRIVILEGES;

Install

node create.js
node create_spisok.js
node addpost.js
node create_day.js
nodesortcom.js
nodesortcom.js
node sortpost.js
node sortpost.js
nodesum.js
nodelistcom.js
node listpost.js
node fulllist.js

Crontab

/root/rank/club/User-Activity-Rank/addcom.js
4 5 * * * node /root/rank/club/User-Activity-Rank/addpost.js
5 5 * * * node /root/rank/club/User-Activity-Rank/create_day.js
6 5 * * * node /root/rank/club/User-Activity-Rank/sortcom.js
7 5 * * * node /root/rank/club/User-Activity-Rank/sortcom.js
8 5 * * * node /root/rank/club/User-Activity-Rank/sortpost.js
9 5 * * * node /root/rank/club/User-Activity-Rank/sortpost.js
10 5 * * * node /root/rank/club/User-Activity-Rank/sum.js
11 5 * * * node /root/rank/club/User-Activity-Rank/listcom.js
12 5 * * * node /root/rank/club/User-Activity-Rank/listpost.js
13 5 * * * node /root/rank/club/User-Activity-Rank/fulllist.js
14 5 * * * node /root/rank/club/User-Activity-Rank/fulllistpost.js

Thank you!

I invite you to join: https://steemit.com/hive-153018/@alexmove.witness/i-invity-you-to-join-user-activity-rating-club

Coin Marketplace

STEEM 0.18
TRX 0.05
JST 0.022
BTC 16486.30
ETH 1211.08
USDT 1.00
SBD 2.20