Skip to content

Instantly share code, notes, and snippets.

View glaszczak's full-sized avatar
🇵🇱

Grzegorz Laszczak glaszczak

🇵🇱
View GitHub Profile
# Git version checking
autoload -Uz is-at-least
git_version="${${(As: :)$(git version 2>/dev/null)}[3]}"
#
# Functions
#
# The name of the current branch
# Back-compatibility wrapper for when this function was defined here in

Tabs and Windows

Function Shortcut
Change Pane size + Option + Arrow Key
Splitting
Split Window Vertically + D
Split Window Horizontally + Shift + D
Moving
Move a pane with the mouse + Option + Shift and then drag the pane from anywhere

How to deploy reaction commerce on AWS using terraform

STATUS: IN PROGRESS

Reaction Commerce Repository

Steps that has to be done

  1. Create MongoDB cluster and connect it with AWS
  2. Create Hydra PostgreSQL database AWS

How to setup PostgreSQL Database on AWS using terraform


Initialize Terraform

$ terraform init

How to Connect MongoDB Atlas Database with AWS using terraform


Initialize Terraform

$ terraform init
class Me {
constructor(userName, friend) {
this.userName = userName;
this.friend = friend;
}
getName() {
console.log(`This is ${this.userName}`);
}