Skip to content

Instantly share code, notes, and snippets.

View kguevara's full-sized avatar

Kelwin Guevara Ortiz kguevara

View GitHub Profile
@kguevara
kguevara / git-deployment.md
Created May 15, 2018 19:25 — forked from noelboss/git-deployment.md
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your lokal GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like my Deepl.io to act upon a Web-Hook that's triggered that service.

@kguevara
kguevara / nginx.thescratch.io.conf
Created May 15, 2018 19:26 — forked from korczis/nginx.thescratch.io.conf
nginx as proxy for nodejs cluster with web sockets configured
proxy_cache_path /var/cache/nginx/cache levels=1:2 keys_zone=cache:8m max_size=3000m inactive=600m;
proxy_temp_path /var/tmp;
# the IP(s) on which your node server is running. I chose port 3000.
upstream app_the_scratch {
server 127.0.0.1:3000 weight=1 fail_timeout=60s;
}
# the nginx server instance
server {

Keybase proof

I hereby claim:

  • I am kguevara on github.
  • I am kguevara (https://keybase.io/kguevara) on keybase.
  • I have a public key ASAE0MIt__LRbMuDoFB47hfVlM5jKlINTZ7UFuuwK1p9jwo

To claim this, I am signing this object: