Coder Social home page Coder Social logo

nkid00 / cll Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lojban/cll

0.0 0.0 0.0 278.25 MB

Complete Lojban Language Chunked

Home Page: http://lojban.org/publications/cll/

License: Other

Shell 0.02% JavaScript 0.01% Ruby 0.01% Perl 0.01% XSLT 0.02% CSS 0.15% Makefile 0.01% HTML 99.79% Dockerfile 0.01%

cll's Introduction

Requirements
------------

All you need is Docker (
https://docs.docker.com/install/#supported-platforms ) or podman (
https://podman.io/getting-started/installation ) and some means of
running bash scripts.  This means you can run this on a MacOS box,
even though it's very much a Linux build process.  Windows should
also be possible, albeit with some difficulty (because you have to
get bash).

You really need at least 2GiB of free RAM; Prince will swap like
crazy otherwise.

The builds will run in a podman (preferred) or docker container,
depending on what you have available.

Usage
-----

To make all the versions do:

  ./run_container.sh

Note that this takes a while, proportionate to available CPU; on an
AWS t2.micro I gave up after over 2 hours due to it running out of
RAM.  On an AWS t2.medium it took about an hour.  RAM is a
significant consideration; it needs at least 2GiB free (and possibly
more).

The final results will end up under the build/ directory, scattered
about in various places.  If you would like the final outputs only
to be copied to another directory, i.e. for web display, you can use
the -a option, so for example:

  ./run_container.sh -a output/

would put all the outputs in the output/ directory, whereas

  ./run_container.sh -a ~/public_html/cll_build/

would put them in your personal webspace.

Running a complete build takes quite a while (like probably at least
an hour).  To do it for just one chapter for faster testing:

  ./run_container.sh -t chapters/05.xml 

This does the whole book but is also much faster:

  ./run_container.sh -t

There are many possible sub-targets as well, which are specified
with -T, such as:

  ./run_container.sh -t -T pdf

You can get a complete list of targets via:

  ./run_container.sh -h

cll's People

Contributors

alisajid avatar audreytoskin avatar chrisdone avatar dag avatar danmo-rozgu avatar durka avatar ento avatar epostavs avatar la-mukti avatar la-ninpre avatar lagleki avatar maltys avatar mathw avatar mezohe avatar ntsekees avatar nyarly avatar purpleposeidon avatar rlpowell avatar sarefo avatar solpahi avatar telarra avatar twey avatar

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.