apt install ruby-full
apt install rubygems
gem install bundler
bundler install
npm i
Read here: https://github.com/ntsd/ntsd.dev/tree/master/ntsd-dev-worker
using Puppeteer to pre render JavaScript in html file for some Javascript libraries that can pre render.
Pre render JavaScript libraries: