Installing check for uniqueness of posts for the Steem Health Style community
Steem Health Style
Steem Health Style admins: daytona475 and abu78
hive-130228
First. We find instructions.
https://steemit.com/hive-141434/@alexmove/installing-recreative-steem-communities-uniqueness-check
Second. I create the required folder.
mkdir healthstyle
Third. I clone git.
git clone https://github.com/Alexmovelove/uniq2.git
Fourth. I create technical posts.
100% (80%+)
Steem Health Style. Check for uniqueness: OK! 100% or more 80%
Links to verified posts are posted in the comments.
Notifications for manual verification with mentions of moderators are published here: xxxx
Detailed description here: https://steemit.com/hive-153018/@alexmove/uniqueness-check-update-run-a-real-time-scan-upnovlenie-proverki-unikalnosti
Have a nice day!
80%-:
Steem Health Style.. Check for uniqueness: Less than 80%, additional verification needed
Links for manual verification with mentions of moderators are published in the comments.
A post with comments where the uniqueness is above 80% is here: https://steemit.com/uniq/@alexmove.witness/steem-sea-check-for-uniqueness-ok-100-or-more-80
![To check for uniqueness, copy, copy.png](https://cdn.steemitimages.com/DQmU9onUsC59Y6B1UR2jCt5tEdfSSkhrfsLUPcPhwuaDKx3/To%20check%20for%20uniqueness,%20%D0%BA%D0%BE%D0%BF%D0 %B8%D1%8F,%20%D0%BA%D0%BE%D0%BF%D0%B8%D1%8F.png)
Detailed description here: https://steemit.com/hive-153018/@alexmove/uniqueness-check-update-run-a-real-time-scan-upnovlenie-proverki-unikalnosti
Have a nice day!
steem-health-style-check-for-uniqueness-ok-100-or-more-80
steem-sea-check-for-uniqueness-less-than-80-additional-verification-needed
Fifth:
I am creating a config file.
cd uniq
nanoconfig.js
exports.num_day = 0;
exports.votey = "xxxx";
exports.wifkey = "xxxx";
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 = "healthstyle";
exports.user_mysql = "main";
exports.password_mysql = "BogSilSavaof";
exports.hive_name = "hive-130228";
exports.image_list = ``;
exports.title_name = "Steem Health Style";
exports.url_post = `steem-health-style-check-for-uniqueness-less-than-80-additional-verification-needed`;
exports.url_ok = `steem-health-style-check-for-uniqueness-ok-100-or-more-80`;
exports.moderators_list = `Steem Health Style admins: daytona475 and abu78`;
Sixth. We create and configure the database.
sudo mysql -u root
CREATE DATABASE healthstyle;
GRANT ALL PRIVILEGES ON healthstyle.* TO 'main'@'localhost';
GRANT SELECT ON healthstyle.* TO 'main'@'localhost';
GRANT UPDATE ON healthstyle.* TO 'main'@'localhost';
FLUSH PRIVILEGES;
And the remote user:
GRANT ALL PRIVILEGES ON healthstyle.* TO 'remote'@' 195.49.149.19';
GRANT SELECT ON healthstyle.* TO 'remote'@' 195.49.149.19';
GRANT UPDATE ON healthstyle.* TO 'remote'@' 195.49.149.19';
FLUSH PRIVILEGES;
eighth
I create tables for counters
node create.js
ninth
I create a list
nodelist.js
tenth
I start the system
node addpost.js
node uniqpost.js
Checking the processing of posts for the previous day.
node addpost-yesterday.js
node uniqpost-yesterday.js
Eleventh.
I add to the scheduler.
crontab -e
*/15 * * * * node /root/uniq/healthstyle/uniq2/addpost.js
55 * * * * node /root/uniq/healthstyle/uniq2/spisok.js
*/5 * * * * node /root/uniq/healthstyle/uniq2/uniqpost.js
55 * * * * node /root/uniq/healthstyle/uniq2/addpost-yesterday.js
*/30 * * * * node /root/uniq/healthstyle/uniq2/uniqpost-yesterday.js
0 5 * * * node /root/uniq/healthstyle/uniq2/list-yesterday.js
0 0 * * 0 node /root/uniq/healthstyle/uniq2/postweek.js
Checking the uniqueness of posts for RECREATIVE STEEM works. Posts with 80% or more uniqueness are published in the comments to the post: https://steemit.com/uniq/@alexmove.witness/steem-health-style-check-for-uniqueness-ok-100-or-more-80
And posts with uniqueness less than 80% are published in the comments to this post: https://steemit.com/uniq/@alexmove.witness/steem-health-style-check-for-uniqueness-less-than-80-additional-verification -needed
Community admins are listed in the comments to call their attention. For comments, questions and inaccuracies, please write to me.
Have a nice day!