RSS generator website
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
frontend md5 Feb 19, 2018
nginx stats Oct 8, 2017
pol stats Sep 20, 2018
tests tests Oct 8, 2017
.gitignore gitignore Oct 8, 2017
LICENSE LICENSE created Jul 21, 2016 lib start Oct 8, 2017 remove debug code Oct 8, 2017 readme May 19, 2018
requirements.txt fix mobile Jul 6, 2018 feed generator is working Jul 10, 2016 tests Oct 8, 2017

RSS feed generator website with user friendly interface

This is source code of RSS feed generator website with user friendly interface.

Installation of development server for Ubuntu

(If you have some questions please contact me by github email)

Install required packages

sudo apt-get install python-minimal libmysqlclient-dev libxml2-dev libxslt-dev python-dev libffi-dev gcc libssl-dev gettext

Install pip

pushd /tmp
sudo python

Install pip packages

sudo pip install -r pol/requirements.txt

Install less and yuglify

sudo apt-get install nodejs npm
sudo npm install -g less@2.7.1
sudo npm -g install yuglify@0.1.4
sudo ln -s /usr/bin/nodejs /usr/bin/node

Install sass

sudo apt-get install ruby
sudo su -c "gem install sass -v 3.4.22"

Install and setup nginx

sudo apt-get install nginx
sudo cp pol/nginx/ /etc/nginx/sites-available/default
sudo service nginx reload

Install and setup mysql if you didn't yet.

sudo apt-get install mysql-server

sudo mysql -u root
mysql> USE mysql;
mysql> UPDATE user SET plugin='mysql_native_password' WHERE User='root';
mysql> exit;

sudo mysql_secure_installation

Create database. Use password 'toor' for root user

mysql -uroot -ptoor -e 'CREATE DATABASE pol DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_unicode_ci;'

Create django config

cp pol/frontend/frontend/ pol/frontend/frontend/

Initialise database

pushd pol/frontend
python migrate
python loaddata fields.json

Run servers

Run downloader server

pushd pol

Run frontend server

pushd pol/frontend
python runserver