{"id":278,"date":"2023-10-23T23:41:23","date_gmt":"2023-10-23T23:41:23","guid":{"rendered":"https:\/\/ceeci.net\/ceeciriodico\/?p=278"},"modified":"2023-10-30T18:11:38","modified_gmt":"2023-10-30T18:11:38","slug":"tutorial-kotlin-ambientar-windows","status":"publish","type":"post","link":"https:\/\/ceeci.net\/ceeciriodico\/tutorial-kotlin-ambientar-windows\/","title":{"rendered":"TUTORIAL KOTLIN: Ambientar Windows"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Instalaci\u00f3n de Chocolatey<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Ejecutar Power Shell como administrador<\/li>\n\n\n\n<li>Ejecutar\n<ol class=\"wp-block-list\">\n<li>Ejecutar:<br><strong>Get-ExecutionPolicy<\/strong><\/li>\n\n\n\n<li>Si devuelve <strong>Restricted <\/strong>ejecutar: <br><strong>Set-ExecutionPolicy AllSigned<\/strong><\/li>\n\n\n\n<li>Ejecutar: <br><strong>Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString(&#8216;https:\/\/chocolatey.org\/install.ps1&#8217;))<\/strong><\/li>\n\n\n\n<li>Validar instalaci\u00f3n con: <br><strong>choco -?<\/strong><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Instalaci\u00f3n de Kotlin<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Instalar Kotlin desde Chocolatey<br><strong>choco install kotlinc<\/strong><\/li>\n\n\n\n<li>Validar instalaci\u00f3n<br><strong>kotlinc -version<\/strong><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Instalaci\u00f3n de Maven<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Ejecutar:<br><strong>choco install maven<\/strong><\/li>\n\n\n\n<li>Cerrar la ventana de Power Shell<\/li>\n\n\n\n<li>Abrir la consola de Windows, ejecutar desde el menu inicio:<br><strong>cmd<\/strong><\/li>\n\n\n\n<li>Validar con:<br><strong>mvn -version<\/strong><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Descargar y ejecutar demo<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Descargar el demo de Kotlin en:<br><strong><a href=\"http:\/\/ceeci.mx\/cursos\/kotlin\/MiProyectoKtorMaven.zip\" title=\"\">http:\/\/ceeci.mx\/cursos\/kotlin\/MiProyectoKtorMaven.zip<\/a><\/strong><\/li>\n\n\n\n<li>Descomprimir: <br><strong>MiProyectoKtorMaven.zip<\/strong><\/li>\n\n\n\n<li>Ingresar a la consola <strong>cmd<\/strong><\/li>\n\n\n\n<li>Abrir la ruta de la carpeta:<br><strong>MiProyectoKtorMaven<\/strong><\/li>\n\n\n\n<li>Ejecutar:<br><strong>mvn clean<br>mvn install<br>mvn compile exec:java<\/strong><\/li>\n\n\n\n<li>Abrir navegador y probar:<br><strong>http:\/\/localhost:8080\/<\/strong><\/li>\n\n\n\n<li>Descargar editor <strong>SUBLIMETEXT<\/strong><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">PRESENTACI\u00d3N Y C\u00d3DIGOS<\/h2>\n\n\n\n<p><a href=\"http:\/\/ceeci.mx\/cursos\/kotlin\/PONENCIA_Desa_Soft_Kotlin.pdf\" title=\"\">http:\/\/ceeci.mx\/cursos\/kotlin\/PONENCIA_Desa_Soft_Kotlin.pdf<\/a> <img decoding=\"async\" src=\"https:\/\/ceeci.net\/ceeciriodico\/wp-content\/uploads\/2023\/10\/nuevo-icono.png\" alt=\"\"><\/p>\n\n\n\n<p><a href=\"http:\/\/ceeci.mx\/cursos\/kotlin\/kotlin-proyectos-basicos.zip\">http:\/\/ceeci.mx\/cursos\/kotlin\/kotlin-proyectos-basicos.zip<\/a> <img decoding=\"async\" src=\"https:\/\/ceeci.net\/ceeciriodico\/wp-content\/uploads\/2023\/10\/nuevo-icono.png\" alt=\"\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Instalaci\u00f3n de Chocolatey Instalaci\u00f3n de Kotlin Instalaci\u00f3n de Maven Descargar y ejecutar demo PRESENTACI\u00d3N Y C\u00d3DIGOS http:\/\/ceeci.mx\/cursos\/kotlin\/PONENCIA_Desa_Soft_Kotlin.pdf http:\/\/ceeci.mx\/cursos\/kotlin\/kotlin-proyectos-basicos.zip<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[29],"tags":[],"class_list":["post-278","post","type-post","status-publish","format-standard","hentry","category-tutoriales-kotlin","et-doesnt-have-format-content","et_post_format-et-post-format-standard"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ceeci.net\/ceeciriodico\/wp-json\/wp\/v2\/posts\/278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ceeci.net\/ceeciriodico\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ceeci.net\/ceeciriodico\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ceeci.net\/ceeciriodico\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ceeci.net\/ceeciriodico\/wp-json\/wp\/v2\/comments?post=278"}],"version-history":[{"count":13,"href":"https:\/\/ceeci.net\/ceeciriodico\/wp-json\/wp\/v2\/posts\/278\/revisions"}],"predecessor-version":[{"id":324,"href":"https:\/\/ceeci.net\/ceeciriodico\/wp-json\/wp\/v2\/posts\/278\/revisions\/324"}],"wp:attachment":[{"href":"https:\/\/ceeci.net\/ceeciriodico\/wp-json\/wp\/v2\/media?parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ceeci.net\/ceeciriodico\/wp-json\/wp\/v2\/categories?post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ceeci.net\/ceeciriodico\/wp-json\/wp\/v2\/tags?post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}