Last active
November 12, 2018 13:06
-
-
Save supun19/471952a469d37111203dfde95f32bf6f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
mac os commands: | |
printenv | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
Docker Commands: | |
=============================== | |
login container | |
sudo docker exec -i -t 7fbb78213417 /bin/bash | |
=============================== | |
stop all container | |
sudo docker stop $(sudo docker ps -aq) | |
================================= | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
aws commands: | |
========================== | |
s3 copy | |
aws s3 cp --recursive /opt/consult/frontend-dashboard/build s3://teach.meetrix.io | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
server | |
pm2: start | |
pm2 start "/usr/local/bin/npm" --name "myAPP" -- start | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment