Blog

Apply Kaizen to continually improve your development process

0 | 41

Kaizen, a japanese word, refers to activities that continuously improve your processes. It was popularly advanced by Toyota on how to improve their manufacturing processes and eliminate waste as documented in The Toyota Way.

The concept can also be applied in the service industry as well. It's more of a culture rather than an event.

We applied Kaizen to improve how we shipped our code to production. 

Typing: 

The initial process involved: 
1. Open Directory 

cd ~/projects/web/erp

2. Commit the code

git commit -a -m="Upload"

3. Push the code to bitbucket.org or github.com

git push origin master

4. Login to the production server via ssh

ssh root@productionserver.com

5. run command to pull the code from bitbucket to the production server

cd /var/www/productionfolder && git fetch origin master && git reset --hard FETCH_HEAD && git clean -df && chmod -R 777 *

Aliases: 
Since typing took a little longer and was prone to errors, we used shortcodes or terminal aliases

So we came up with the following aliases to avoid typing: 
The current process involved: 
1. Open Directory 

alias wwERP="cd ~/projects/web/erp"

2. Commit the code

alias commitERP="git commit -a -m="Upload""

3. Push the code to bitbucket.org or github.com

alias pushERP="git push origin master"

4. Login to the production server via ssh

alias sshERP="ssh root@productionserver.com"

5. run command to pull the code from bitbucket to the production server

alias pullERP="cd /var/www/productionfolder && git fetch origin master && git reset --hard FETCH_HEAD && git clean -df && chmod -R 777 *"

Single command: 
Still using aliases consumed time so we went a step further to combine the aliases into one command that would do everything. 

alias uploadERP=" wwERP; commitERP ; pushERP ; sshERP; pullERP';

Small and incremental improvements to your development processes might assist you to eliminate errors and save precious time so that you can spending it focusing on the things that matter and that's solving your clients' problem and improving their user experience. 



Comments


Submit a comment

Your email address will not be published. Required fields are marked *

Back to list

About us

Sapama ERP is a cloud-based Enterprise Resource Planning (ERP) software for small and medium sized organizations.