Skip to content
Snippets Groups Projects
user avatar
chris authored
b32ea32e

Overview

Editoria is a book production platform, built with Pubsweet and Substance.
This application is being developed by the Coko Foundation, for the University of California Press.

Requirements

Node >= 7.6
Npm >= 3

Pubsweet >= 0.3.2

Installation

First you need to clone this repository on your machine.
git clone git@gitlab.coko.foundation:yannisbarlas/editoria.git
or the https equivalent:
git clone https://gitlab.coko.foundation/yannisbarlas/editoria.git

Once you have, navigate to the project's root directory.
cd editoria

This application requires node 7.6 or greater.
If you use nvm for managing different node versions, the project includes an .nvmrc file that you can take advantage of.

Install the latest version of the pubsweet command line tool.
npm install --global pubsweet

Install the project's dependencies.
npm install

Create a database.
pubsweet setupdb ./

If you want to create a database for a development environment, simply pass the --dev option to the above command.
pubsweet setupdb ./ --dev

Follow the instructions, create the administrator user and name your first book.

Once that is done, you can run the app like so:
pubsweet run
Or if you want the development environment:
pubsweet run --dev

Set up

Log in as an administrator, and click on the "Teams" link in the navigation bar.

You can now assign different users to different roles.
If a user is a production editor, the user can then also edit user roles for all other users.

You're good to go!