Skip to content

A python app that relates news stories graphically sourced via rss feeds

Notifications You must be signed in to change notification settings

miltontony/newsconnector

Repository files navigation

Newsconnector

A python app that relates news stories sourced via rss feeds

Getting it running

  1. Requirements:

    sudo apt-get install supervisor nginx memcached rabbitmq-server \
    libxml2-dev libxslt-dev git libpq-dev virtualenvwrapper haproxy \
    aptitude postgresql-9.1 postgresql-server-dev-all python-dev \
    redis-server openjdk-7-jre-headless
    
  2. Install Elasticsearch

    https://gist.github.com/wingdspur/2026107

  3. Create db:

    sudo -u postgres createuser --superuser --pwprompt news
    createdb -W -U news -h localhost -E UNICODE news
    
  4. Clone the repo + virtual environment:

    git clone [email protected]:miltontony/newsconnector.git
    cd newsconnector
    virtualenv --no-site-packages ve
    source ve/bin/activate
    
    pip install -r requirements.pip
    
  5. Setup Django:

    cd newsconnector
    
    ./manage.py syncdb
    ./manage.py migrate
    ./manage.py loaddata fixtures/*
    ./manage.py collectstatic --noinput
    
  6. Update rss database:

    ./manage.py shell
    from newsconnector.support.tasks import update_feeds
    update_feeds()
    
  7. Run app:

    ./manage.py runserver
    

About

A python app that relates news stories graphically sourced via rss feeds

Resources

Stars

Watchers

Forks

Packages

No packages published