Metadata-Version: 1.1
Name: newslynx
Version: 1.1.0
Summary: A modular toolkit for analytics.
Home-page: http://newslynx.org
Author: Brian Abelson
Author-email: brian@newslynx.org
License: CCSA-4.0
Description: |travis-img| # newslynx-core
        
        NewsLynx Core is an expandable open-source toolkit for building modular
        content analytics workflows. It provides a fully RESTful API as well as
        a comprehensive ``python`` client and command line interface.
        
        NewsLynx Core was built to power
        ```newslynx-app`` <http://github.com/newslynx/newslynx-app>`__ but is
        capable of powering a diverse range of potential applications, as well,
        including:
        
        -  A Mention.net-like pipeline for your personal or company blog.
        -  A Flexible timeseries store for content metrics which will
           automatically summarize and compare your data, as well as enable the
           additional of custom, computed metrics.
        -  A framework for configuring, scheduling, and monitoring arbitrary
           ``python`` jobs via API.
        -  A content-extraction API.
        
        Installation
        ------------
        
        For most applications, refer to our `installation
        guide <http://newslynx.readthedocs.org/en/latest/install.html>`__. If
        you'd like to setup a development environment, following the
        instructions below for MacOS X. If you'd like to spin up a Virtual
        Machine, check out our `automation
        guide <https://github.com/newslynx/automation>`__.
        
        Install ``newslynx``, prefrerably in a `virtual environment <http://docs.python-guide.org/en/latest/dev/virtualenvs/>`__.
        '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
        
        .. code:: shell
        
            $ git clone https://github.com/newslynx/newslynx-core.git
            $ cd newslynx-core
            $ python setup.py install
        
        If you want to actively work on the codebase, install in ``editable``
        mode:
        
        .. code:: shell
        
            $ git clone https://github.com/newslynx/newslynx-core.git
            $ cd newslynx-core
            $ pip install --editable . 
        
        Install the dependencies:
        '''''''''''''''''''''''''
        
        Install ``redis``:
        
        .. code:: shell
        
            $ brew install redis
        
        **NOTE** We recommend using `Postgres APP <http://postgresapp.com/>`__.
        However, if you prefer the ``brew`` distribution, make sure to install
        it with plpythonu.
        
        ::
        
            $ brew install postgresql --build-from-source --with-python
        
        (Re)create a ``postgresql`` database
        
        .. code:: shell
        
            # If you already have a database called `newslynx`, delete it first
            $ dropdb newslynx 
            $ createdb newslynx
        
        Set your configurations
        '''''''''''''''''''''''
        
        Please refer to the `configuration
        docs <http://newslynx.readthedocs.org/en/latest/config.html>`__
        
        Start the redis server
        ''''''''''''''''''''''
        
        Open another shell and run:
        
        ::
        
            $ redis-server
        
        Initialize the database, super user, and install built-in sous chefs.
        '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
        
        If you're using our default setup, use the app defaults flag, which will
        create the necessary recipes and tags as specified in
        `newslynx/dot\_newslynx/defaults <newslynx/dot_newslynx/defaults>`__.
        Edit those files to make changes to default values.
        
        ::
        
            $ newslynx init --app-defaults
        
        **[Expert mode]** To install the barebones system:
        
        ::
        
            $ newslynx init
        
        Start the server
        ''''''''''''''''
        
        -  In debug mode: ``newslynx debug``
        -  Debug mode with errors: ``newslynx debug --raise-errors``
        -  Production ``gunicorn`` server: ``bin/run``
        
        Start the task workers
        ''''''''''''''''''''''
        
        ::
        
            $ bin/start_workers
        
        Stop the task workers
        '''''''''''''''''''''
        
        ::
        
            $ bin/stop_workers
        
        Start the cron daemon
        '''''''''''''''''''''
        
        ::
        
            $ newslynx cron
        
        Getting Started.
        ----------------
        
        -  `Configuration <http://newslynx.readthedocs.org/en/latest/config.html>`__
        -  `First
           steps <http://newslynx.readthedocs.org/en/latest/getting-started.html>`__
        -  `Understanding Sous
           Chefs <http://newslynx.readthedocs.org/en/latest/sous-chefs.html>`__
        -  `Understanding
           Recipes <http://newslynx.readthedocs.org/en/latest/recipes.html>`__
        -  `Understanding
           Metrics <http://newslynx.readthedocs.org/en/latest/metrics.html>`__
        -  `Understanding
           Tags <http://newslynx.readthedocs.org/en/latest/taxonomy.html>`__
        -  `Understanding
           Content <http://newslynx.readthedocs.org/en/latest/content-items.html>`__
        -  `Understanding
           Events <http://newslynx.readthedocs.org/en/latest/events.html>`__
        -  `Full API
           Reference <http://newslynx.readthedocs.org/en/latest/api.html>`__
        -  `Command Line
           Interface <http://newslynx.readthedocs.org/en/latest/cli.html>`__
        -  `Write your own Sous
           Chef <http://newslynx.readthedocs.org/en/latest/writing-sous-chefs.html>`__
        
        Application Structure
        ---------------------
        
        License
        -------
        
        This work is licensed under a Creative Commons
        Attribution-NonCommercial-ShareAlike 4.0 International License.
        
        .. |travis-img| image:: https://travis-ci.org/newslynx/newslynx-core.svg
        
Keywords: journalism analytics google-analytics twitter facebook metrics
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
