index.html 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <!DOCTYPE html>
  2. <html lang="en-us">
  3. <head>
  4. <title>
  5. Wikis | codeskraps
  6. </title>
  7. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9. <meta name="description" content="Mobile development blog by Carles Sentis, sharing expertise in Android, iOS, and Kotlin Multiplatform development">
  10. <meta name="generator" content="Hugo 0.145.0">
  11. <link rel="canonical" href="https://codeskraps.com/wiki/" >
  12. <link href="https://codeskraps.com/wiki/index.xml" rel="alternate" type="application/rss+xml" title="codeskraps" >
  13. <link href="https://codeskraps.com/wiki/index.xml" rel="feed" type="application/rss+xml" title="codeskraps" >
  14. <link href="/css/style.min.ef8e99489b0b85e34523800e588426b1b4c05e27adcb9d7193952cef205afe6d.css" rel="stylesheet">
  15. <script defer src="https://umami.codeskraps.com/script.js" data-website-id="a80a52da-0b7d-4faf-9dfc-ee6ca5a8421f" data-do-not-track="true"></script>
  16. <link rel="stylesheet" href="/css/code-copy.css">
  17. <script defer src="/js/code-copy.js"></script>
  18. </head>
  19. <body>
  20. <div class="flexWrapper">
  21. <header class="headerWrapper">
  22. <div class="header">
  23. <div>
  24. <a class="terminal" href="https://codeskraps.com/">
  25. <span>me@codeskraps.com ~ $</span>
  26. </a>
  27. </div>
  28. <input class="side-menu" type="checkbox" id="side-menu">
  29. <label class="hamb" for="side-menu"><span class="hamb-line"></span></label>
  30. <nav class="headerLinks">
  31. <ul>
  32. <li>
  33. <a href="https://codeskraps.com/posts/" title="" >
  34. ~/posts</a>
  35. </li>
  36. <li>
  37. <a href="https://codeskraps.com/projects/" title="" >
  38. ~/projects</a>
  39. </li>
  40. <li>
  41. <a href="https://codeskraps.com/about/" title="" >
  42. ~/about</a>
  43. </li>
  44. </ul>
  45. </nav>
  46. </div>
  47. </header>
  48. <div class="content">
  49. <main class="main">
  50. <div>
  51. <div class="listHeader">
  52. <div class="header-content">
  53. <div></div>
  54. <a href="/tags" class="tags-link"><span class="highlight">Tags</span></a>
  55. </div>
  56. </div>
  57. <div>
  58. <a class="postListLink" href="https://codeskraps.com/wiki/build-and-test/">
  59. <div class="postListItem" role="listitem">
  60. <div class="postHeader">
  61. <span class="postTitle">Build and Test Guide</span>
  62. <time class="postDate" datetime="2024-04-10">April 10, 2024</time>
  63. </div>
  64. <div class="postExcerpt">
  65. <p><h1 id="build-and-test-guide">Build and Test Guide</h1>
  66. <p>This guide provides step-by-step instructions for building and testing the blog before publishing changes.</p>
  67. <h2 id="prerequisites">Prerequisites</h2>
  68. <ul>
  69. <li><a href="https://gohugo.io/installation/">Hugo</a> installed on your system</li>
  70. <li>Git for version control</li>
  71. <li>A modern web browser for testing</li>
  72. </ul>
  73. <h2 id="development-workflow">Development Workflow</h2>
  74. <h3 id="1-local-development">1. Local Development</h3>
  75. <p>To start the development server:</p>
  76. <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>hugo server -D
  77. </span></span></code></pre></div><p>This will:</p>
  78. <ul>
  79. <li>Start a local server (usually at http://localhost:1313)</li>
  80. <li>Enable draft content viewing</li>
  81. <li>Watch for file changes and auto-reload</li>
  82. </ul>
  83. <h3 id="2-building-the-site">2. Building the Site</h3>
  84. <p>To build the site for production:</p></p>
  85. </div>
  86. </div>
  87. </a>
  88. </div>
  89. </div>
  90. <style>
  91. .header-content {
  92. display: flex;
  93. justify-content: space-between;
  94. align-items: center;
  95. }
  96. .tags-link {
  97. text-decoration: none;
  98. font-size: 1.8rem;
  99. font-weight: bold;
  100. padding: 0.8rem 1.5rem;
  101. }
  102. .highlight {
  103. background: var(--accent-color);
  104. color: var(--bg-color);
  105. padding: 0.2em 0.4em;
  106. border-radius: 4px;
  107. transition: opacity 0.2s;
  108. }
  109. .tags-link:hover .highlight {
  110. opacity: 0.8;
  111. }
  112. </style>
  113. </main>
  114. </div>
  115. <footer class="footer">
  116. <span>CC 2025, Built with <a href="https://gohugo.io" class="footerLink">Hugo</a> | Analytics by <a href="https://umami.codeskraps.com/" class="footerLink">Self-hosted Umami</a></span>
  117. </footer>
  118. </div>
  119. </body>
  120. </html>