One feature of Vim is its ability to perform search-and-replace tasks with some complexity, using familiar sysadmin trappings such as `sed` and regular expressions. In this lab, you will put this into practice by making both mass and minimal changes to some provided code.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Update Dockerfile
Replace the appropriate instances of
cloud_user
withnode
at/home/cloud_user/app/Dockerfile
.- Update server.js
Use Vim’s search-and-replace capabilities to update the appropriate text to all caps in the console log; ensure no other instances of
app
andport
are changed.- Update todo.test.js
Replace only the appropriate instances of
test
to lowercase. (The parametertest that website works
should not be changed.)