First of all, I uploaded the django project to ec2 through filezilla and confirmed that it was working normally.
But I missed one code, so I want to insert that code and modify the code listed in ec2
Should I insert the modified code through Filezilla and then reboot ec2 or not, but is there any other way?
I'm curious.
Is there a way to modify it?
aws django ec2
It's a rather embarrassing question.
Did you check it by rebooting the PC after modifying it when developing it on the PC? Also, if you just say ec2, you don't know what os is, but it's probably linux, right?
Guess you can't kill daemons in linux. If you didn't do it in the background, you can just do Ctrl + c.
ps aux | grep-e manage.py | grep-v grep
and you'll see the django process running on your system.
ID number... It's going to be in this order.
kill -9 number
will kill the django process. If you restart it later, the correction will be reflected.
ps aux | grep-e manage.py | grep-v grep | awk '{print$2}' | xargs kill-9
at once, but it is safe to kill after checking the process id.
© 2024 OneMinuteCode. All rights reserved.