Skip to content

Instantly share code, notes, and snippets.

View muhammadyana's full-sized avatar
🏠
Work From Anywhere

Muhammad Yana Mulyana muhammadyana

🏠
Work From Anywhere
View GitHub Profile
@muhammadyana
muhammadyana / setup-rails-in-ubuntu-server.md
Last active June 28, 2022 10:45
Setup ruby on rails and required in ubuntu

INSTALL ZSH

sudo apt install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
@muhammadyana
muhammadyana / deploy_react_with_ec2_capistrano.MD
Last active July 22, 2022 03:32
Deploying React Application to Amazon EC2 with Capistrano, Github Action & Nginx

INSTALL NODE JS & YARN

Install NVM

curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
source ~/.bashrc

Install node js 14

@muhammadyana
muhammadyana / install-postgresql-on-mac.md
Last active March 28, 2023 23:03
Install postgresql in mac using homebrew
brew install postgresql@14
brew services start postgresql@14
psql postgres

# Optional
cd /usr/local/var/
rm -rf postgres
initdb /usr/local/var/postgres