Copyright © 2008,2009,2010 Fundacja Nowoczesna Polska <fundacja@nowoczesnapolska.org.pl>
For full list of contributors see AUTHORS section at the end.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
- Python 2.7
- All packages listed in requirements.txt
- Sass>=3.2
-
Checkout the source code from Github and enter the directory
-
Install libraries (we recommend using pip):
pip install -r requirements.txt git submodule update --init
-
Setup your local configuration based on settings.py. You need to generate a new SECRET_KEY, database stuff and domain related stuff.
-
Populate database:
./manage.py migrate
-
Run the server
./manage.py runserver
-
Import some books which are available on http://www.wolnelektury.pl or on bitbucket mirror: http://bitbucket.org/lqc/wlbooks/ If you use Bitbucket, you also need Mercurial to fetch books (you can install it using: pip install mercurial). After downloading books, log into administration, go to Books and choose 'Browse' to select book file, then fire 'Import book' to upload it. Some books have invalid XML, so you can get an error (just ignore it and look for other books).
-
We provide localization of the software in following languages: Polish, Russian, German, English, Spanish, French and Lithuanian. Translation strings are based on gettext and can be found under 'locale' dir. There are also JavaScript files for jQuery countdown plugin (static/js/jquery.countdown-*.js).
- django-chunks
in
apps/chunks
based on django-chunks by Clint Ecker clintecker@gmail.com, New BSD License - django-newtagging
in
apps/newtagging
by Marek Stępniowski marek@stepniowski.com, MIT License, based on django-tagging, also under MIT License - jPlayer
in
apps/catalogue/static/jplayer
by Happyworm, MIT License - Switch template tag
in
apps/wolnelektury_core/templatetags/switch_tag.py
by adurdin - Cropping engine for sorl-thumbnail
in
apps/picture/engine.py
by Timmy O'Mahony - Javascript in
apps/wolnelektury_core/static/js/contrib
with relevant attribution and licensing
- Marek Stępniowski marek@stepniowski.com
- Łukasz Rekucki lrekucki@gmail.com