Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
db
logs
.gitignore
README.md
logger.js
ok.js
ok_v1.js
package.json
settings-example.json
settings.json

README.md

ok_share

Quick start

git clone https://github.com/mazdik/ok_share.git
cd ok_share
npm install
# Поменять настройки в файле settings.json
node ok.js

Node.js

Download and install Node.js

PhantomJS

Download and install PhantomJS

Пример установки на CentOS 7

yum install fontconfig freetype freetype-devel fontconfig-devel libstdc++
yum install gcc-c++ make
yum -y install bzip2
curl --silent --location https://rpm.nodesource.com/setup_7.x | bash -
yum -y install nodejs
yum install git
npm install phantomjs -g

Пример установки на Linux Mint

curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install -y build-essential
sudo apt install git
sudo npm install phantomjs -g

Пример установки на Debian 7

sudo apt-get install -y build-essential
wget https://nodejs.org/dist/v7.6.0/node-v7.6.0-linux-x64.tar.xz
cd /usr/local
tar --strip-components 1 -xJf node-v7.6.0-linux-x64.tar.xz
sudo apt-get install git
sudo npm install phantomjs -g

Проверки

npm -v
node -v
phantomjs -v
convert -version
git --version
You can’t perform that action at this time.