Thoth (/θoʊθ, toʊt/, Greek Θώθ < Coptic Ⲑⲱⲟⲩⲧ < Egyptian ḏḥwtj) is an Open Dissemination System for Open Access books. Written purely in rust, it consists of:
rustup default stablelibssl-devgit clone https://github.com/thoth-pub/thoth.git
cd thoth
cp .env.example .env # Edit the credentials in .env
docker-compose up
git clone https://github.com/thoth-pub/thoth.git
cd thoth
cp .env.example .env # Edit the credentials in .env
cargo run init
wasm-pack build thoth-app/ --target web \
&& rollup thoth-app/main.js --format iife --file thoth-app/pkg/thoth_app.js \
&& cargo run start app
The wasm APP needs to know the endpoint the API will be running at compile time, we must provide THOTH_API as a build argument to the docker daemon upon build:
docker build --build-arg THOTH_API=https://api.thoth.openbookpublishers.com . -t openbookpublishers/thoth
Thoth is being developed as part of the COPIM project, an international effort to build community-owned, open systems and infrastructures to enable Open Access book publishing to flourish. COPIM is funded by the Research England Development Fund (REDFund) and Arcadia.
Content type
Image
Digest
sha256:a06e9d962…
Size
13.1 MB
Last updated
almost 2 years ago
docker pull openbookpublishers/thoth