Installing Post Uniqueness Check for the Steem SEA Community

in hive-103393 •  3 years ago 

hello.png

Steem SEA


Steem SEA admins: @steem.sea and @anroja
hive-103393

First.
We find instructions.
https://steemit.com/hive-141434/@alexmove/installing-recreative-steem-communities-uniqueness-check

Second.
I create the required folder.
mkdir sea

Third.
I clone git.
git clone https://github.com/Alexmovelove/uniq2.git

Fourth.
I create technical posts.

100% (80%+)

Steem SEA. 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

To check for uniqueness (2).png

Detailed description here: https://steemit.com/hive-153018/@alexmove/uniqueness-check-update-run-a-real-time-scan-upnovlenie-proverki-unikalnosti

And: https://steemit.com/hive-153018/@alexmove/instruction-ver2-of-install-steemit-check-uniqueness-system-for-ubuntu

Have a nice day!

80%-:

Steem SEA. 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

And: https://steemit.com/hive-153018/@alexmove/instruction-ver2-of-install-steemit-check-uniqueness-system-for-ubuntu

Have a nice day!

steem-sea-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 = "sea";
exports.user_mysql = "main";
exports.password_mysql = "BogSilSavaof";
exports.hive_name = "hive-103393";
exports.image_list = ``;
exports.title_name = "Steem SEA";
exports.url_post = `steem-sea-check-for-uniqueness-less-than-80-additional-verification-needed
`;
exports.url_ok = `steem-sea-check-for-uniqueness-ok-100-or-more-80
`;
exports.moderators_list = "Steem SEA admins: @steem.sea and @anroja
hive-103393";

Sixth.
We create and configure the database.

sudo mysql -u root
CREATE DATABASE sea;

GRANT ALL PRIVILEGES ON sea.* TO 'main'@'localhost';
GRANT SELECT ON sea.* TO 'main'@'localhost';
GRANT UPDATE ON sea.* TO 'main'@'localhost';
FLUSH PRIVILEGES;

And the remote user:
GRANT ALL PRIVILEGES ON sea.* TO 'remote'@' 195.49.149.19';
GRANT SELECT ON sea.* TO 'remote'@' 195.49.149.19';
GRANT UPDATE ON sea.* 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/sea/uniq2/addpost.js
55 * * * * node /root/uniq/sea/uniq2/spisok.js
*/5 * * * * node /root/uniq/sea/uniq2/uniqpost.js

55 * * * * node /root/uniq/sea/uniq2/addpost-yesterday.js
*/30 * * * * node /root/uniq/sea/uniq2/uniqpost-yesterday.js
0 5 * * * node /root/uniq/sea/uniq2/list-yesterday.js

0 0 * * 0 node /root/uniq/sea/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-sea-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-sea-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!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!