remy / jsconsole

Web based console - for presentations and workshops
http://jsconsole.com
MIT License
1.91k stars 333 forks source link

Quick start guide? #139

Open abalter opened 5 years ago

abalter commented 5 years ago

Is there a simple quick start guide?

The code for the website/online example is:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta content="width=device-width,initial-scale=1" name="viewport">
    <link href="/favicon-192.png" rel="icon" type="image/png">
    <link href="/favicon-192.png" rel="apple-touch-icon">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <script src="https://cdn.polyfill.io/v2/polyfill.min.js">
    </script>
    <title>jsconsole</title>
    <link href="/static/css/main.e714727a.css" rel="stylesheet">
</head>
<body>
    <div id="root"></div>
    <script src="/static/js/main.6c2dc45f.js" type="text/javascript">
    </script>
</body>
</html>

Where can I find /static/css/main.e714727a.css and /static/js/main.6c2dc45f.js non-minified?

remy commented 5 years ago

What do you want a quick start to do?

Using jsconsole, you treat it as a REPL…

abalter commented 5 years ago

Reproduce this. I cloned the repo. Now what? Is there a back end, or does this run completely client side? I'm looking for a client side JS repl for an app I want to make.

Awea commented 5 years ago

Hi there, sorry to jump in but since jsconsole.com gives 404 when I call the script I'm interested in running this nice tool localy.

@abalter You can start the project with a npm run start (have a look at the package.json for other commands).

@remy On which version of Node and stuff this is running? After the project start and I get a web interface I also get an Unexpected token < in JSON at position 0 error when I try the :listen command. Thanks for your time!