/wed

Wed is a web-based editor that assists users in editing XML documents according to a schema.

Primary LanguageTypeScriptMozilla Public License 2.0MPL-2.0

Contributors Forks Stargazers Issues MIT License LinkedIn

WedEditor


Wed Editor is a web-based editor that assists users in editing XML documents according to a schema, for example TEI-XML documents.
This is a modified version by DataScouting, based on Wed by Mangalam Research Center for Buddhist Languages

Table of Contents

About The Project

Wed is a schema-aware editor for XML documents. It runs in a web browser.

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • Linux-based Operating System (for example, Ubuntu)
  • Text Editor (for example, nano)
  • Git
  • Docker
  • Docker Compose

Installation

  1. Open a terminal
  2. Clone the Wed Editor
git clone https://github.com/datascouting/wed.git
  1. Open the Wed Editor project
cd wed
  1. Edit the docker-compose-development.yml file
    • Change the build args (SERVER_USER_UID, SERVER_USER_GID, SERVER_USER_PASSWORD)
      • Find your UID and GID, using the following command
          id
    • Change the host port (8088) (Optional)
  2. Make the DoComUtil (Docker Compose Util) executable
chmod +x ./DoComUtil
  1. Build a development docker image
./DoComUtil build dev
  1. Start a development docker container
./DoComUtil start dev
  1. Trigger a building and deployment on development server
./DoComUtil deploy dev
  1. Open on the browser the url http://localhost:8088
    • Replace the 8088 with your own port

License

Distributed under the Mozilla Public License Version 2.0. See LICENSE for more information.

Acknowledgements