{"id":1330,"date":"2017-08-30T18:36:56","date_gmt":"2017-08-30T09:36:56","guid":{"rendered":"http:\/\/blog.moramcnt.com\/?p=1330"},"modified":"2018-04-04T12:58:47","modified_gmt":"2018-04-04T03:58:47","slug":"%ed%8c%8c%ec%9d%b4%ec%b0%b8%ec%9d%84-%ec%9d%b4%ec%9a%a9%ed%95%98%ec%97%ac-%eb%9d%bc%ec%a6%88%eb%b2%a0%eb%a6%ac%ed%8c%8c%ec%9d%b4-%ec%9b%90%ea%b2%a9-%eb%b9%8c%eb%93%9c-%ed%99%98%ea%b2%bd-%ec%84%a4","status":"publish","type":"post","link":"http:\/\/blog.moramcnt.com\/?p=1330","title":{"rendered":"\ud30c\uc774\ucc38\uc744 \uc774\uc6a9\ud558\uc5ec \ub77c\uc988\ubca0\ub9ac\ud30c\uc774 \uc6d0\uaca9 \ube4c\ub4dc \ud658\uacbd \uc124\uc815"},"content":{"rendered":"<p>1. \ud30c\uc774\ucc38 \uc5f4\uae30<br \/>\n &#8211; Create New Project\ub85c \ud558\uc5ec \ud504\ub85c\uc81d\ud2b8 \uc0dd\uc131<br \/>\n<a href=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_01.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_01.png\" alt=\"\" width=\"668\" height=\"487\" class=\"alignnone size-full wp-image-1331\" \/><\/a><\/p>\n<p><\/p>\n<p>2. \uc791\uc5c5\uc704\uce58\uc124\uc815<br \/>\n<a href=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_02.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_02.png\" alt=\"\" width=\"779\" height=\"487\" class=\"alignnone size-full wp-image-1332\" \/><\/a><\/p>\n<p><\/p>\n<p>3. \uc6d0\uaca9\uc9c0 \uc124\uc815<br \/>\n &#8211; Interpreter\uc758 Add Remote\ub97c \ud074\ub9ad<br \/>\n<a href=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_03.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_03.png\" alt=\"\" width=\"859\" height=\"490\" class=\"alignnone size-full wp-image-1333\" \/><\/a><\/p>\n<p><\/p>\n<p>4. \uc6d0\uaca9\uc9c0 \uc815\ubcf4 \uc785\ub825<br \/>\n &#8211; Host IP, Port, \uacc4\uc815\uc815\ubcf4 \ubc0f \uc6d0\uaca9\uc9c0\uc758 \ud30c\uc774\uc3a4 \uc778\ud130\ud504\ub9ac\ud130\ub97c \uc124\uc815\ud55c\ub2e4.<br \/>\n<a href=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_04.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_04.png\" alt=\"\" width=\"520\" height=\"304\" class=\"alignnone size-full wp-image-1334\" \/><\/a><\/p>\n<p><\/p>\n<p>5. Remote Project location \uc124\uc815<br \/>\n<a href=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_05.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_05.png\" alt=\"\" width=\"779\" height=\"487\" class=\"alignnone size-full wp-image-1335\" \/><\/a><\/p>\n<p><\/p>\n<p>6. \ud30c\uc774\uc36c \ud30c\uc77c \uc0dd\uc131<br \/>\n &#8211; \uc624\ub978\ucabd Project\uc5d0\uc11c New > Python File\uc744 \ub20c\ub7ec \ud30c\uc77c\uc0dd\uc131<br \/>\n<a href=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_06.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_06.png\" alt=\"\" width=\"1600\" height=\"860\" class=\"alignnone size-full wp-image-1336\" \/><\/a><\/p>\n<p>7. \ud30c\uc77c\uba85 \uc785\ub825<br \/>\n<a href=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_07.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_07.png\" alt=\"\" width=\"347\" height=\"154\" class=\"alignnone size-full wp-image-1338\" \/><\/a><\/p>\n<p>8. \uac04\ub2e8\ud55c \ucf54\ub529<br \/>\n<a href=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_08.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_08.png\" alt=\"\" width=\"1600\" height=\"860\" class=\"alignnone size-full wp-image-1339\" \/><\/a><\/p>\n<p>9. \uc11c\ubc84\ub85c \ubc30\ud3ec(Deployment)<br \/>\n &#8211; \uc704\uc5d0\uc11c \ucf54\ub529\ud55c\uac83\uc744 Tools > Deployment > Upload to ssh~ \ub97c \ub20c\ub7ec \ub77c\uc988\ubca0\ub9ac\ud30c\uc774\ub85c \ubc30\ud3ec<br \/>\n<a href=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_10.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_10.png\" alt=\"\" width=\"1600\" height=\"860\" class=\"alignnone size-full wp-image-1341\" \/><\/a><\/p>\n<p> &#8211; \ud558\ub2e8 \ub85c\uadf8\ucc3d\uc5d0 \uc5c5\ub85c\ub4dc \uc0c1\ud0dc \ud45c\uc2dc\ub428<br \/>\n<a href=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_11.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_11.png\" alt=\"\" width=\"1600\" height=\"860\" class=\"alignnone size-full wp-image-1342\" \/><\/a><\/p>\n<p>10. \ub77c\uc988\ubca0\ub9ac \ud30c\uc774\uc5d0\uc11c \uad6c\ub3d9<\/p>\n<pre>\r\nsudo python3 DoorClient.py\r\n<\/pre>\n<p><a href=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_12.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_12.png\" alt=\"\" width=\"476\" height=\"95\" class=\"alignnone size-full wp-image-1343\" \/><\/a><\/p>\n<p>11. \ub77c\uc988\ubca0\ub9ac \ud30c\uc774\ub85c \ubd80\ud130 Sync<br \/>\n &#8211; \ub77c\uc988\ubca0\ub9ac \ud30c\uc774\uc5d0\uc11c \uc9c1\uc811 vi\ub85c \uc5d0\ub514\ud305\ud55c \uacbd\uc6b0 \ub77c\uc9c0\ubca0\ub9ac\ud30c\uc774\ub85c \ubd80\ud130 \ub3d9\uae30\ud654\ub97c \ud560\uc218 \uc788\ub2e4.<br \/>\n &#8211; Tools > Deployment > Sync with Deployed to ssh~ \uba54\ub274 \ud074\ub9ad\ud558\uc5ec \ub3d9\uae30\ud654.<br \/>\n<a href=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_13.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.moramcnt.com\/wp-content\/uploads\/2017\/08\/pycharm_13.png\" alt=\"\" width=\"1600\" height=\"860\" class=\"alignnone size-full wp-image-1344\" \/><\/a><\/p>\n<p>12.\ucc38\uace0\uc0ac\ud56d<br \/>\n   \ud30c\uc774\ucc38 Unresolved reference \uc5d0\ub7ec\uc2dc<br \/>\n   &#8211; <a href=\"https:\/\/hyesun03.github.io\/2016\/10\/04\/pycharmImportError\/\" target=\"TOP\">https:\/\/hyesun03.github.io\/2016\/10\/04\/pycharmImportError\/<\/a><\/p>\n<p>   \ud30c\uc774\ucc38\uc758 \uc6d0\uaca9\ube4c\ub4dc\uc2dc sudo \ubb38\uc81c\ub85c \ucef4\ud30c\uc77c\uc774 \uc548\ub420\ub54c<\/p>\n<pre>\r\n$sudo vi \/usr\/bin\/python3-sudo.sh\r\n<\/pre>\n<p>  \uc544\ub798\uc640 \uac19\uc774 \uc791\uc131\ud6c4 <\/p>\n<pre>\r\n#!\/bin\/bash\r\nsudo \/usr\/bin\/python3.5 \"$@\"\r\n<\/pre>\n<p>\ud30c\uc774\ucc38\uc758 Configure Remote Python Interpreter\uc758 Python interpreter path\uc5d0 &#8220;\/usr\/bin\/python3-sudo.sh&#8221; \uc785\ub825<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \ud30c\uc774\ucc38 \uc5f4\uae30 &#8211; Create New Project\ub85c \ud558\uc5ec \ud504\ub85c\uc81d\ud2b8 \uc0dd\uc131 2. \uc791\uc5c5\uc704\uce58\uc124\uc815 3. \uc6d0\uaca9\uc9c0 \uc124\uc815 &#8211; Interpreter\uc758 Add Remote\ub97c \ud074\ub9ad 4. \uc6d0\uaca9\uc9c0 \uc815\ubcf4 \uc785\ub825 &#8211; Host IP, Port, \uacc4\uc815\uc815\ubcf4 \ubc0f \uc6d0\uaca9\uc9c0\uc758 \ud30c\uc774\uc3a4 \uc778\ud130\ud504\ub9ac\ud130\ub97c \uc124\uc815\ud55c\ub2e4. 5. Remote Project location \uc124\uc815 6. \ud30c\uc774\uc36c \ud30c\uc77c \uc0dd\uc131 &#8211; \uc624\ub978\ucabd Project\uc5d0\uc11c New > Python File\uc744 \ub20c\ub7ec \ud30c\uc77c\uc0dd\uc131 7. \ud30c\uc77c\uba85 \uc785\ub825 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[2,35],"tags":[223,224,222],"class_list":["post-1330","post","type-post","status-publish","format-standard","hentry","category-2","category-iot","tag-pycharm","tag-224","tag-222"],"_links":{"self":[{"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/posts\/1330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1330"}],"version-history":[{"count":10,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/posts\/1330\/revisions"}],"predecessor-version":[{"id":1690,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/posts\/1330\/revisions\/1690"}],"wp:attachment":[{"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1330"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}