Under the rules of Sociometry
Track, find, mining, parsing & analyzing data from social networks.
Software provides nimble web-data operations.
Current state: minimum viable product (MVP). Demo version.
Stack
Environment
Install system packages
apt-get install \
sudo \
curl \
build-essential \
htop \
mc \
git-core \
tcl8.5 \
nginx \
openjdk-8-jre \
tree \
apache2-utils
Installing Node.JS
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs
Installing Redis
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make
make test
sudo make install
sudo mkdir /etc/redis && sudo mkdir /var/redis
sudo cp utils/redis_init_script /etc/init.d/redis_6379
sudo nano /etc/init.d/redis_6379
sudo cp redis.conf /etc/redis/6379.conf
sudo nano /etc/redis/6379.conf
sudo mkdir /var/redis/6379
sudo update-rc.d redis_6379 defaults
sudo /etc/init.d/redis_6379 start
Create new user
sudo useradd --home-dir /home/bot --create-home --shell /bin/bash bot
Install npm global packages
sudo npm install -g coffee-script foreman
Install package using npmjs.com
npm install undertherules
Configure HTTP server. Adding symbolic Links
rm /etc/nginx/sites-enabled/default
cd /etc/nginx/sites-enabled &&
sudo ln -s /home/bot/node_modules/undertherules/etc/nginx/default
sudo service nginx restart
Maintenance
Launching application without root privileges.
cd ~/node_modules/undertherules
nf start
Set as a global job using root access.
sudo nf export -o /etc/init
Data-Sources
Links
Future todo
- Analytics for your Telegram bot (e.g. botan)
- Tests using telegtam-cli.
- Add Russian & Hebrew comments in the code.
- Create bot for flops.ru
- Add new links from: vk.com/big.data
- Authorization
Thanks
- Romanovsky P. (Socialist Group)
- Ashomko A. (Tiger Milk)
- Pivkin P. (Buzz Like)
- Korotun V. (Buzz Like)
- Grigoriev E. (Esprite Games)
- Bogomolov A. (Uroboros Team)
- Akhmetov A. (RTA Moscow)
- Maas E. (TASS News Agency)
LICENSE
MIT License
Copyright (c) 2016 Mikhail G. Lutsenko (m.g.lutsenko@gmail.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.