{"id":5984,"date":"2022-02-08T11:19:25","date_gmt":"2022-02-08T10:19:25","guid":{"rendered":"https:\/\/solidt.eu\/site\/?p=5984"},"modified":"2022-02-08T11:19:25","modified_gmt":"2022-02-08T10:19:25","slug":"code-anywhere","status":"publish","type":"post","link":"https:\/\/solidt.eu\/site\/code-anywhere\/","title":{"rendered":"Code anywhere"},"content":{"rendered":"\n<p><a href=\"https:\/\/medium.com\/geekculture\/3-steps-to-code-from-anywhere-45401247f479\">https:\/\/medium.com\/geekculture\/3-steps-to-code-from-anywhere-45401247f479<\/a><\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"e009\">Prerequisites<\/h1>\n\n\n\n<ul class=\"wp-block-list\"><li>Linux-based server that has at a minimum 1 GB of RAM and 2 CPU cores<\/li><\/ul>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"e474\">Steps<\/h1>\n\n\n\n<p id=\"c17b\"><strong>[ 1 ]. Installing the necessary software<\/strong><\/p>\n\n\n\n<p id=\"ae2c\">To install the code-server, you just need to run the following command in your Linux server:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">curl -fsSL https:\/\/code-server.dev\/install.sh | sh<\/pre>\n\n\n\n<p id=\"4483\"><strong>[ 2 ]. Running it in the Linux server<\/strong><\/p>\n\n\n\n<p id=\"f5e4\">In the same Linux server, create a variable, put your special password in there and choose a port for this code-server. In my case, I have used 8080.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">PASSWORD=my-custom-password<br>code-server --auth password --bind-addr 0.0.0.0:8080<\/pre>\n\n\n\n<p id=\"e552\"><strong>[ 3 ]. Use your favorite browser to access the cloud IDE<\/strong><\/p>\n\n\n\n<p id=\"f6a8\">Open the browser in your device and put the IP of the server and the port. You will see something similar to the following screenshot:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*iXl1zs7rs-HktgzeZEkeTQ.png\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*i0P89CGe9MplZrlmz1zYww.png\" alt=\"\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/medium.com\/geekculture\/3-steps-to-code-from-anywhere-45401247f479 Prerequisites Linux-based server that has at a minimum 1 GB of RAM and 2 CPU cores Steps [ 1 ]. Installing the necessary software To install the code-server, you just need to run the following command in your Linux server: curl -fsSL https:\/\/code-server.dev\/install.sh | sh [ 2 ]. Running it in the Linux server [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5984","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/5984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/comments?post=5984"}],"version-history":[{"count":1,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/5984\/revisions"}],"predecessor-version":[{"id":5985,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/5984\/revisions\/5985"}],"wp:attachment":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/media?parent=5984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/categories?post=5984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/tags?post=5984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}