Giter Site home page Giter Site logo

peterstadler / module2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beethovenswerkstatt/module2

0.0 1.0 0.0 97.68 MB

This repo holds the data for VideApp-Arr, the second module of Beethovens Werkstatt

License: GNU Affero General Public License v3.0

JavaScript 9.71% XQuery 2.46% HTML 2.29% CSS 2.95% XSLT 82.33% Dockerfile 0.26%

module2's Introduction

module2

This is a starting point for building (prototype) tools based on eXist-db, NodeJS, and Gulp. It compiles Ecmascript2015 (ES6) to regular Javascript, translates SASS to css, and works well with Docker. However, this is just a start for a development workflow, and may need to be adjusted for specific use cases.

#Requirements

  • NodeJS (I'm using v6.11.3 right now)
  • eXist-db (I'm using v3.4.1 right now)

#Installation

  • fork or download from Git
  • run npm install
  • copy existConfig.tmpl.json to existConfig.json
  • adjust your configuration in that file. No worries, it will be ignored by Git.
  • adjust package.json. All information for building the eXist app will be derived from there

#Gulp Tasks

  • watch This task watches for changes to the source directories and uploads changes to a local eXist-db
  • dist This task creates a xar package of the current state.
  • bump-patch This task bumps the version number at patch level (according to semver)
  • bump-minor This task bumps the version number at minor level (according to semver)
  • bump-major This task bumps the version number at major level (according to semver)

Other tasks (called by the above tasks)

  • load-assets loads assets like Verovio from node_modules and puts them in the right places
  • html loads HTML files. no templating mechanism included
  • css compiles SASS to minified css
  • js compiles ES6 to minified / uglified JS
  • xql copies xql and xqm files into the right folders
  • xslt copies xslt into the right folder
  • data copies data into the right folder
  • xar-structure builds the basic structure for the eXist-app
  • del empties the /build and /dist folders
  • deploy uploads the app to a local eXist database

#Todos

  • lint There is a gulp lint task, but it currently fails to autofix things.

module2's People

Contributors

aseipelt avatar krhero avatar kepper avatar susannecox avatar elisanovara avatar ran-mo avatar richardsaenger avatar obertsalome avatar cmvweber avatar federicarovelli avatar

Watchers

James Cloos 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.