Created
November 21, 2019 20:35
-
-
Save luandro/b4d16851ec57868212cea85aae299b86 to your computer and use it in GitHub Desktop.
Community Server Experiment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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