How to install. Uniqueness Check. (Instruction)

in SteemFamily3 years ago (edited)

How Do I Check, копия.png

Greetings!

In this post, I'll show you how to get the community involved in uniqueness checks.

You can do it on your server, or contact me.

Also, I propose to support our project:
https://steemit.com/hive-153018/@alexmove/uniqueness-check-update-run-a-real-time-scan-obnovlenie-proverki-unikalnosti

https://steemit.com/hive-153176/@greatketty/attention-checking-the-uniqueness-of-posts-is-available-in-every-community

Инструкция:

Создаем пост для 80+% уникальности. Похожий на этот:

Создаем пост для уникальности менее 80%. Похожий на этот: https://steemit.com/hive-111293/@alexmove/steem-travelers-check-for-uniqueness-less-than-80-additional-verification-needed

Нам важна концовка для файла настроек: steem-travelers-check-for-uniqueness-less-than-80-additional-verification-needed

Создать папку соответствующую названию вашему сообщества. Например, travelers

mkdir travelers

cd travelers

git clone https://github.com/Alexmovelove/uniq.git

Настраиваем конфигурацию.

cd uniq
nano config.js

Корректируем строчку exports.url_post на текст из пункта 2 и другие (интуитивно понятно).
А также строчку exports.moderators_list = "";

Корректируете строку exports.url_ok

sudo mysql -u root
CREATE DATABASE travelers;
GRANT ALL PRIVILEGES ON travelers.* TO 'main'@'localhost';
GRANT SELECT ON travelers.* TO 'main'@'localhost';
GRANT UPDATE ON travelers.* TO 'main'@'localhost';
FLUSH PRIVILEGES;

crontab -e
Добавляем текст 

*/15 * * * * node /mnt/uniq/travelers/uniq/addpost.js
55 * * * * node /mnt/uniq/travelers/uniq/spisok.js
*/5 * * * * node /mnt/uniq/travelers/uniq/uniqpost.js

55 * * * * node /mnt/uniq/travelers/uniq/addpost-yesterday.js
*/30 * * * * node /mnt/uniq/travelers/uniq/uniqpost-yesterday.js
0 5 * * * node /mnt/uniq/travelers/uniq/list-yesterday.js

0 0 * * 0 node /mnt/uniq/travelers/uniq/postweek.js

Где путь - ваш.

node /mnt/uniq/travelers/uniq/create.js
node /mnt/uniq/travelers/uniq/spisok.js

Проверяем.

node /mnt/uniq/travelers/uniq/addpost.js
node /mnt/uniq/travelers/uniq/uniqpost.js

Все работает!

Sort:  
 3 years ago 

Очень полезная инструкция! Во благо!

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.029
BTC 56688.84
ETH 2388.88
USDT 1.00
SBD 2.28