Install MS Code editor : https://code.visualstudio.com/docs/setup/linux
Deploy to target
Deploying your actual react app to this folder
Assuming you have the built files in a folder called
public, then you can add this to your packge.json scripts :
"deploy:prod": "rsync -avzhe ssh --progress ./public/* firstname.lastname@example.org:/root/krim.com"
And then invoke this by calling :
npm run build
npm run deploy:prod
This should sync all your files with the remote directory and your app is now deployed.
Welcome to the world of dev ops, frontend developer.