Skip to content

Instantly share code, notes, and snippets.

@luandro
Created November 21, 2019 20:35
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 luandro/b4d16851ec57868212cea85aae299b86 to your computer and use it in GitHub Desktop.
Save luandro/b4d16851ec57868212cea85aae299b86 to your computer and use it in GitHub Desktop.
Community Server Experiment
#Set user
useradd -ou 0 -g 0 admin
passwd admin
# Install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
nvm install 10
# Get community server
npm i -g ssb-server
# Start SSB and Dat APIs and web server
ssb-server start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment