Skip to content

Instantly share code, notes, and snippets.

@Mischi
Last active March 19, 2019 21:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mischi/29904c2560fb266906cc29e1adeaa96e to your computer and use it in GitHub Desktop.
Save Mischi/29904c2560fb266906cc29e1adeaa96e to your computer and use it in GitHub Desktop.
OpenBSD + Node.js + Web development
# add node to path and let npm use system clang/clang++ by default
export PATH="$HOME/.node/bin:$PATH"
alias npm='CC=/usr/bin/clang CXX=/usr/bin/clang++ LIBSASS_EXT=auto npm'
prefix = ~/.node

OpenBSD + Node.js + Web development

These are my changes to stock OpenBSD to play well with Node.js web development

Installed packages

node libsass

staff:\
:datasize-max=infinity:\
:datasize-cur=4096M:\
:maxproc-max=512:\
:maxproc-cur=256:\
:openfiles-max=99999:\
:openfiles-cur=99999:\
:ignorenologin:\
:requirehome@:\
:tc=default:
kern.maxfiles=99999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment