Giter VIP home page Giter VIP logo

websml's Introduction

WebSML

websml's People

Contributors

tkw1536 avatar jukowski avatar

Watchers

James Cloos avatar  avatar

Forkers

jukowski

websml's Issues

Running problems

Just tried installing it on a server and I get:
[Mon, 21 Jan 2013 15:20:17 GMT] System.Start
info - socket.io started
[Mon, 21 Jan 2013 15:20:26 GMT] System.Error: SyntaxError: Unexpected token .
at Object.parse (native)
at auth (/opt/WebSML/networking/webserver.js:257:20)
at Array.forEach (native)
at MakeDataObj (/opt/WebSML/networking/webserver.js:250:33)
at Server.WebServer.wrap.dataFunc (/opt/WebSML/networking/webserver.js:348:13)
at Manager.handleRequest (/opt/WebSML/node_modules/socket.io/lib/manager.js:565:28)
at Server. (/opt/WebSML/node_modules/socket.io/lib/manager.js:119:10)
at Server.EventEmitter.emit (events.js:99:17)
at HTTPParser.parser.onIncoming (http.js:1889:12)
at HTTPParser.parserOnHeadersComplete as onHeadersComplete
[Mon, 21 Jan 2013 15:20:26 GMT] System.Stop

after starting it with "bash RunServer.sh" and opening the browser at port 80. Any ideas?

Code cleanup

Would be nice to separate different concerns of the project:. So would be nice to have a structure similar to:
/compilers
|- abstract_compiler.js (implements some default code)
|- sml.js
|- prolog.js
|- latex.js
/server_root
|- index.html
/vfs (virtual file system)
|- local.js
|- svn.js
/network
|- socketio.js
|- browserchannel.js
/bin
|- socketio_server.js
|- browserchannel_server.js
|- basic_auth_server.js

Client not working on windows

When running your service in a nodejs installation on windows, it serves HTML pages as having content-type: plain/text. So instead of seeing an HTML page, I see the HTML text ... Any idea why?

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.