Git Product home page Git Product logo

ltc-webview-layer's Introduction

Chibitronics Love-to-Code Web Interface

This is the source code to the Chibitronics Love-to-Code website.

It includes the modulator, as well as the user interface. For modules, it uses the CodeMirror text editor, as well as a few other addons.

Audio is encoded into a Wav file, which is played back by the browser.

Building

Build Status

To build, install dependencies using npm:

npm install

You may need to install the "gulp" program, in order to be able to build code:

npm install -g gulp

Then build and serve using gulp:

gulp build
gulp watch

Note that the example menu needs to be hand-edited in src/index.html

Deploying

To deploy, rebuild the project using the "default" target:

gulp

You can then copy the contents of "build/", or serve it using "gulp serve-prod":

gulp serve-prod

Docker Support

This package has full Docker support, and will rebuild itself and serve files on port 80. To build a Docker image, simply run "docker build .". You may want to specify a tag:

docker build -t ltc-web-ui .

You can then run it locally, exposing it on port 8080:

docker run --rm -it -p 8080:80 ltc-web-ui

By default, it uses the build server at //compile.ltc.chibitronics.com and you can change this by setting COMPILE_URL:

docker run --rm -it -p 8080:80 -e COMPILE_URL=//compile.example.com/ ltc-web-ui

ltc-webview-layer's People

Contributors

xobs avatar bunnie avatar sailorhg avatar

Watchers

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