VKSMM is a cool service to get the most popular content from your "vk.com" communities
Screenshot:
- Setup required modules in virtual environment:
$ virtualenv venv
$ venv/bin/pip install -r requirements.txt
- Create MySQL database
$ mysql -e "create database vksmmdb charset utf8"
- Run parser [in a screen]
$ screen python vkparser.py
CTRL+A+D to detach the screen, CTRL+C to kill. Actually this is a bad practice but easy to start.
- Setup NGNIX-server and Gunicorn, following this article, restart it and run app from the project folder, e.g:
$ sudo /etc/init.d/nginx restart
$ cd user/vksmmmtool
$ gunicorn -w 2 -b localhost:8000 server:app --daemon
This project in my portfolio: http://vksmm.info/project/4/
- Write deploy scripts
- Save nginx, gunicorn and upstart scripts for backend and parser