Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/huksley/gotdiff
https://github.com/huksley/gotdiff
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/huksley/gotdiff
- Owner: huksley
- Created: 2022-07-20T13:11:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-22T20:00:18.000Z (over 2 years ago)
- Last Synced: 2024-11-06T20:29:31.674Z (2 months ago)
- Language: JavaScript
- Size: 285 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gotdiff
## Install
```bash
sudo apt-get update
sudo apt-get upgrade -y
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
export NVM_DIR="$HOME/.nvm"
. "$NVM_DIR/nvm.sh"
nvm install 16
nvm use 16
nvm alias default 16
sudo apt-get install -y libcap2-bin
sudo apt-get install -y docker.io
sudo usermod -G docker -a ubuntu
newgrp docker
newgrp ubuntu
sudo setcap cap_net_bind_service=+ep `readlink -f \`which node\``
npm install -g pm2
git clone https://github.com/huksley/gotdiff
cd gotdiff
npm install
npm run redis
npm run build
pm2 startup
sudo env PATH=$PATH:/home/ubuntu/.nvm/versions/node/v16.16.0/bin /home/ubuntu/.nvm/versions/node/v16.16.0/lib/node_modules/pm2/bin/pm2 startup systemd -u ubuntu --hp /home/ubuntu
cat > .env
pm2 start ssl.js
```