Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
Create free AWS Account at https://aws.amazon.com/
I would be creating a t2.medium ubuntu machine for this demo.
local RemoveComments = function() | |
local ts = vim.treesitter | |
local bufnr = vim.api.nvim_get_current_buf() | |
local ft = vim.bo[bufnr].filetype | |
local lang = ts.language.get_lang(ft) or ft | |
local ok, parser = pcall(ts.get_parser, bufnr, lang) | |
if not ok then return vim.notify("No parser for " .. ft, vim.log.levels.WARN) end | |
local tree = parser:parse()[1] |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
Create free AWS Account at https://aws.amazon.com/
I would be creating a t2.medium ubuntu machine for this demo.