Skip to content

Instantly share code, notes, and snippets.

View mezbahalam's full-sized avatar
🏠

Mezbah Alam mezbahalam

🏠
View GitHub Profile
upstream app {
# Path to Puma SOCK file, as defined previously
server unix:/home/deployer/fastfood/shared/tmp/sockets/puma.sock fail_timeout=0;
}
server {
listen 80;
server_name localhost;
root /home/deployer/fastfood/current/public;
@mezbahalam
mezbahalam / git-auto-deploy.md
Created October 17, 2019 18:57 — forked from yosukehasumi/git-auto-deploy.md
Setting Up Git-Auto-Deploy on Digital Ocean

Install software-properties-common

sudo apt-get install software-properties-common

Add Repo

sudo add-apt-repository ppa:olipo186/git-auto-deploy
@mezbahalam
mezbahalam / pg.md
Created December 20, 2022 20:29
install postgresql on ubuntu 22.04

To install PostgreSQL on Ubuntu 22.04, follow these steps:

Update the package manager's package list by running the following command:

sudo apt update

Install the PostgreSQL package by running the following command:

sudo apt install postgresql