--
You received this message because you are subscribed to the Google Groups "CTAT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ctat-users+...@googlegroups.com.
To post to this group, send email to ctat-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ctat-users.
For more options, visit https://groups.google.com/d/optout.
Create a new directory where you can try out your tutor
Change to that directory and create another sub folder called 'content', that is where you can place your tutor files as-is.
In your test directory create a javascript file called: server.js In that file past the following code:
const http = require('http');
const hostname = '127.0.0.1';
const port = 3000;
const server = http.createServer((req, res) => {
res.statusCode = 200;
res.setHeader('Content-Type', 'text/plain');
});
server.listen(port, hostname, () => {
console.log(`Node test server running at http://${hostname}:${port}/`);
});
http-server
Execute the script and you will be able to go to the URL below to see your tutor:
http://localhost:3000/content