Giter Club home page Giter Club logo

zup's Introduction

zup

a simple interface to extract texts from (almost) any url.

https://raw.githubusercontent.com/medialab/zup/master/zup.gif

installation

Clone the repository and its submodules

clone --recursive https://github.com/medialab/zup.git zup

If --recursive options is not available, consider using these command to install submodules

cd zup
git submodule init
git submodule update

Create and activate a dedicated virtualenv for zup. If you're not sure, please follow this how-to

Install then the dependencies via pip packages:

cd zup
pip install -r requirements.txt

Some python package that zup requires, like lxml, needs some other libraries to be available. On unix environment, make sure the development packages of libxml2 and libxslt are installed.

sudo apt-get install libxml2-dev libxslt1-dev python-dev

In case, you are using Ubuntu/Lubuntu 13.04 or Ubuntu 13.10 and having problem with "/usr/bin/ld: cannot find -lz", you may need also install zlib1g-dev package.

sudo apt-get install zlib1g-dev

Configuration

Once installation has been completed, there is one more step: configuration.

cd zup
cp local_settings.py.example local_settings.py

And modify these two lines according to your own virtualenv

SECRET_KEY = 'your own generated secret key'
	
PYTHON_INTERPRETER = '<your virtualenv path>/.virtualenvs/zup/bin/python'

Also define in which directories you want to install Django's static files:

STATIC_ROOT = '<your own path>/static'
MEDIA_ROOT  = '<your own path>/media'

Run

Zup needs a light sqlite database

cd zup
python manage.py syncdb
python manage.py test
python manage.py collectstatic

Test your installation with

python manage.py runserver

zup's People

Contributors

boogheta avatar danieleguido avatar jamesscottbrown avatar yomguithereal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zup's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.