123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- <!DOCTYPE html>
- <html lang="en-us">
- <head>
- <title>
- Wikis | codeskraps
- </title>
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="Mobile development blog by Carles Sentis, sharing expertise in Android, iOS, and Kotlin Multiplatform development">
- <meta name="generator" content="Hugo 0.145.0">
- <link rel="canonical" href="https://codeskraps.com/wiki/" >
- <link href="https://codeskraps.com/wiki/index.xml" rel="alternate" type="application/rss+xml" title="codeskraps" >
- <link href="https://codeskraps.com/wiki/index.xml" rel="feed" type="application/rss+xml" title="codeskraps" >
- <link href="/css/style.min.ef8e99489b0b85e34523800e588426b1b4c05e27adcb9d7193952cef205afe6d.css" rel="stylesheet">
- <script defer src="https://umami.codeskraps.com/script.js" data-website-id="a80a52da-0b7d-4faf-9dfc-ee6ca5a8421f" data-do-not-track="true"></script>
- <link rel="stylesheet" href="/css/code-copy.css">
- <script defer src="/js/code-copy.js"></script>
- </head>
- <body>
- <div class="flexWrapper">
- <header class="headerWrapper">
- <div class="header">
- <div>
- <a class="terminal" href="https://codeskraps.com/">
- <span>me@codeskraps.com ~ $</span>
- </a>
- </div>
- <input class="side-menu" type="checkbox" id="side-menu">
- <label class="hamb" for="side-menu"><span class="hamb-line"></span></label>
- <nav class="headerLinks">
- <ul>
-
- <li>
- <a href="https://codeskraps.com/posts/" title="" >
- ~/posts</a>
- </li>
-
- <li>
- <a href="https://codeskraps.com/projects/" title="" >
- ~/projects</a>
- </li>
-
- <li>
- <a href="https://codeskraps.com/about/" title="" >
- ~/about</a>
- </li>
-
- </ul>
- </nav>
- </div>
- </header>
- <div class="content">
- <main class="main">
-
- <div>
- <div class="listHeader">
- <div class="header-content">
- <div></div>
- <a href="/tags" class="tags-link"><span class="highlight">Tags</span></a>
- </div>
- </div>
-
- <div>
-
- <a class="postListLink" href="https://codeskraps.com/wiki/build-and-test/">
- <div class="postListItem" role="listitem">
- <div class="postHeader">
- <span class="postTitle">Build and Test Guide</span>
-
- <time class="postDate" datetime="2024-04-10">April 10, 2024</time>
- </div>
- <div class="postExcerpt">
- <p><h1 id="build-and-test-guide">Build and Test Guide</h1>
- <p>This guide provides step-by-step instructions for building and testing the blog before publishing changes.</p>
- <h2 id="prerequisites">Prerequisites</h2>
- <ul>
- <li><a href="https://gohugo.io/installation/">Hugo</a> installed on your system</li>
- <li>Git for version control</li>
- <li>A modern web browser for testing</li>
- </ul>
- <h2 id="development-workflow">Development Workflow</h2>
- <h3 id="1-local-development">1. Local Development</h3>
- <p>To start the development server:</p>
- <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
- </span></span></code></pre></div><p>This will:</p>
- <ul>
- <li>Start a local server (usually at http://localhost:1313)</li>
- <li>Enable draft content viewing</li>
- <li>Watch for file changes and auto-reload</li>
- </ul>
- <h3 id="2-building-the-site">2. Building the Site</h3>
- <p>To build the site for production:</p></p>
- </div>
- </div>
- </a>
-
- </div>
- </div>
- <style>
- .header-content {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .tags-link {
- text-decoration: none;
- font-size: 1.8rem;
- font-weight: bold;
- padding: 0.8rem 1.5rem;
- }
- .highlight {
- background: var(--accent-color);
- color: var(--bg-color);
- padding: 0.2em 0.4em;
- border-radius: 4px;
- transition: opacity 0.2s;
- }
- .tags-link:hover .highlight {
- opacity: 0.8;
- }
- </style>
- </main>
- </div>
- <footer class="footer">
-
- <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>
-
- </footer>
- </div>
- </body>
- </html>
|