Damnbasher is responsible for handling all file I/O and CLI I/O of the Damnground app
This is the container powering part of the project which is used by damnground and damnbackend.
- CRUD Files via SocketIO
- File manager for damnground
- CLI handler for damnground web terminal
- Great ability to scale
Damnbasher uses these tech to power itself:
- Chokidar - For file watching ability
- node.js - I/O for the backend
- NodePTY - Psuedo terminal to interact via web
Install the dependencies and devDependencies and start the server.
cd damnbasher
npm i
node run dev
For production environments...
npm run build
Damnbasher is spuer easy to deploy in a Docker container.
cd damnbasher
docker build -t <youruser>/html:<version | tag>.
This will create the damnbasher html image and pull in the necessary dependencies.
Run
docker run -d -p 1337:1337 -d -<youruser>/damnbasher:<version | tag>