adventure-time icon indicating copy to clipboard operation
adventure-time copied to clipboard

Trying to set up locally

Open chopfitzroy opened this issue 9 years ago • 1 comments

I have tried to set up using the following instructions:

  • install and run https://github.com/mafintosh/docker-browser-server
  • install and run https://github.com/maxogden/adventure-time (the demo uses get-dat content but you can swap in your own)

I have also installed the https://github.com/mafintosh/docker-adventure-time docker image.

In order to run I am using the following commands:

  • Start docker-browser-server: node ./bin.js mafintosh/docker-adventure-time --port 8080 (I had to update some NPM packages to get it node-gyp to compile).
  • Start adventure-time: npm run start.

I have the following adventure-time config:

adventureTime({
  guide: "http://maxogden.github.io/get-dat/guide",
  server: "localhost:8080",
  id: Math.random().toString(36).slice(2)
})

If I navigate to http://localhost:8080 docker-browser-server works fine. If I navigate to http://localhost:9966 adventure-time serves up but I get no output in the console window.

I am receiving the following error when adventure-time is starting the server:

Error: ENOENT: no such file or directory, open '/vagrant/hatchway/node_modules/edit/node_modules/codemirror/lib/codemirror.css' while parsing file: /vagrant/hatchway/node_modules/edit/index.js

Which is odd because I have double checked and the file is there...? But I can not see how this would effect the console anyway as codemirror is only used for the editor.

@maxogden & @mafintosh I know you guys haven't worked on either of these projects in awhile but I thought I would tag you in just in case you have some insight sorry if this bothers you! :L

BTW the tech you guys have put together is pretty amazing, couldn't believe it when I actually ran a terminal emulator in my browser :)

chopfitzroy avatar Jul 06 '16 10:07 chopfitzroy

Side note when I do navigate to http://localhost:9966 the docker-server-browser shows the following output:

Spawning new container (efvrmy6tyo1f2vvcinscdcayvi)
Killing container (efvrmy6tyo1f2vvcinscdcayvi)

Looks like it is spawning a container and then killing it straight away.

Cheers.

chopfitzroy avatar Jul 07 '16 07:07 chopfitzroy