Sign inSign up

am2h/nodejs-theia

By am2h

•Updated about 5 years ago

Nodejs bundled with Theia IDE

Image
0

2.0K

am2h/nodejs-theia repository overview

⁠AM2H-Server V2 (c)2017,2018,2019,2020

dev-2.1.0

Setup Docker environment (Theia/Node.js/NPM):

[ Stop Container:

  • docker-compose -p AM2H-ServerV2 down ]

Install the AM2H-ServerV2 app in Node.js / NPM environment (e.g. open Theia terminal):

Rename user/cfg/config.sample.js to config.js

Start the apps locally (in Theia terminal):

  • node startMqttTimer {cfgname} &
  • node startWebServer {cfgname} &

Start the apps in Docker container:

  • docker run --name AM2H-MqqtTimer -w /home/project/AM2H-ServerV2/base/ -u root -it -d -v am2h-serverv2_AM2H-ServerV2_data:/home/project:cached --entrypoint node am2h/nodejs-theia:latest startMqttTimer.js
  • docker run --name AM2H-ServerV2_Webserver -w /home/project/AM2H-ServerV2/base/ -u root -it -d -p 3333:3000 -v am2h-serverv2_AM2H-ServerV2_data:/home/project:cached --entrypoint node am2h/nodejs-theia:latest startWebServer.js

Tag summary

Content type

Image

Digest

Size

97.8 MB

Last updated

about 5 years ago

docker pull am2h/nodejs-theia