SEt up SSH Key on local server

go to /home/toru/.ssh/
Create ssh private key file, and name the project/hosting company name. Do the same thing for public key.
copy and private key
Add a shortcut to config file

However, if you push to live using rsync command like Culturally Connected project, you only need Host and IdentityFile.

The rsync command depends on projects, but it should be like the below.

Some linux commands

control + a Jump to head
alt + space Jump to previous/next word
To search a file containing some specific words on terminal,

To clear terminal console

Search file

Git workflow

git pull

1. ‘git flow release start 1.1’ works

create a new release branch named ‘release/1.1’ (1.1 will be the number you assigned)
bump the version number

2. Fuse custom script makes change log

create changelog entry
commit the change on develop branch

3. ‘git flow release finish 1.1’ works

merge the change after “git flow release start”
*git-flow will make sure everything is correctly merged into both master and develop. Developers can work last modifying before starting release, but Fuse’s nr process merely uses release branch for release purpose.
*Hotfix branches are a lot like release branches, except they’re based on master instead of develop. However, Fuse doesn’t use Hotfix branch.

Here is how to launch the website from staging server.
If you have not committed anything on master branch

Then, go back to develop branch

On the project directory of dev server

Then follow like below

Componetization – how to name components?

When & how should I separate component and name them?
Divide list and the element, mainComp-list are mainComponent separated as different component
mainComp-list can be wrapper name, mainComp-list__item can be an actual item name
mainComp can be wrapped by mainComponent-list
mainComp includes mainComp-header component which has bunch of elements
mainComp can have general name elements such as image, contents, name, description
If you use wrapper, the element should inside mainComp component like

Another nested example

You can see other good example here. This one uses the following convention.