Giter Site home page Giter Site logo

jacereda / lambdacube-editor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lambdacube3d/lambdacube-editor

0.0 2.0 0.0 1.04 MB

Home Page: http://lambdacube3d.com/editor.html

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.25% Haskell 14.53% HTML 4.18% PureScript 70.60% JavaScript 10.44%

lambdacube-editor's Introduction

lambdacube-editor

run lambdacube-editor locally

To try it out only haskell has to be installed (purescipt is not needed, because the compiled editor.js is included in this repo)

  • cd compiler-service
  • cabal install or cabal new-build
  • run compiler-service from lambdacube-editor folder
  • open lambdacube-editor/editor.html
    1. open in browser
    2. start a local web server e.g. python -m SimpleHTTPServer 8002, then open 0.0.0.0:8002/editor.html in a browser

For developers

To recompile the purescript source to the editor.js first setup the build environment (install: npm,bower,purescript)

setup build environment

  • install purescript
    • cabal update
    • cabal install purescript
  • install node Notes for Ubuntu users: you may need nodejs-legacy (sudo apt-get install nodejs-legacy)
  • install npm
  • install bower and pulp
    • npm install -g bower pulp or if you don't want to install bower and pulp globally
    • cd; npm install bower pulp
    • add "~/node_modules/.bin" to $PATH

on NixOS: nix-env -iA nixos.pkgs.nodejs nixos.pkgs.haskellPackages.purescript nixos.pkgs.nodePackages.bower npm update (cd; npm install pulp) bower update

  • add "~/node_modules/.bin" to $PATH

compile lambdacube-editor (editor.js)

  • cd lambdacube-editor
  • bower update
  • pulp build -O --to editor.js

lambdacube-editor's People

Contributors

csabahruska avatar cobbpg avatar jacereda avatar

Watchers

 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.