In your command-line run the following commands:
brew doctor
brew update
INSERT INTO "Table"("Id") select uuid_generate_v4() from public."Logs"; |
# install haproxy | |
yum install -y haproxy | |
# config haproxy for rabbitmq | |
cat > /etc/haproxy/haproxy.cfg << "EOF" | |
global | |
log 127.0.0.1 local0 notice | |
maxconn 10000 | |
user haproxy |
module.exports = function(callback) { | |
require('child_process').exec('./cursor-position.sh', function(error, stdout, stderr) { | |
callback(error, JSON.parse(stdout)); | |
}); | |
} |
git pull --recurse-submodules |
location /ws { | |
proxy_pass http://http://178.33.123.109:8080/ws; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection "Upgrade"; | |
proxy_set_header Host $host; | |
} | |
location /api { | |
rewrite /api/(.*) /$1 break; |
"options": { | |
"browserTarget": "optimargin-status-monitoring:build", | |
"proxyConfig": "src/proxy-local.conf.json", | |
"port": 10001 | |
}, | |
"configurations": { | |
"production": { | |
"browserTarget": "optimargin-status-monitoring:build:production", | |
"proxyConfig": "src/proxy-prod.conf.json" | |
} |
host all all 0.0.0.0/0 md5 |
net user {{usr}} /add /active:yes | |
net user {usr} * | |
net localgroup users {usr} /delete | |
net localgroup guests {usr} /add |
In your command-line run the following commands:
brew doctor
brew update
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis