serve.html 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta name="description" content="">
  8. <title>serve | Casey DeLorme's Portfolio / caseydelorme.com</title>
  9. <link rel="icon" type="image/x-icon" href="https://d2xxklvztqk0jd.cloudfront.net/favicon.ico" />
  10. <link rel="stylesheet" type="text/css" href="/css/main.css#c5e63ca">
  11. </head>
  12. <body>
  13. <header class="group">
  14. <h1><a href='/'>Casey DeLorme</a></h1>
  15. <nav>
  16. <ul>
  17. <li><a href="/projects">Projects</a></li>
  18. <li><a href="/resume.html">Resume</a></li>
  19. </ul>
  20. </nav>
  21. </header>
  22. <div class="content group">
  23. <h3><a href="https://github.com/cdelorme/serve">serve</a></h3>
  24. <p>I often found myself working with folks who had limited back-end development knowledge.</p>
  25. <p>Regularly these folks would complain about the difficulties of setting up a web server, such as apache or nginx, to test front-end code locally.</p>
  26. <p>I spent roughly 30 minutes and wrote the first draft of a file server written for the sole purpose of locally testing.</p>
  27. <p>The current version is under 30 lines of code (&lt;80 if you count tests), allows the port to be changed via an environment variable, and will launch the site in the web browser.</p>
  28. <p>This is by far the coolest tiny utility I have written, and while it certainly does not compete with something like nginx, it&rsquo;s something you can just run and it works with literally zero configuration.</p>
  29. <p><strong><em>written on 2017-04-13</em></strong></p>
  30. </div>
  31. <footer class="group">
  32. <a href='https://www.facebook.com/CaseyRDeLorme' class='link facebook'></a>
  33. <a href='https://www.linkedin.com/in/cdelorme' class='link linkedin'></a>
  34. <a href='https://www.youtube.com/user/LordOfElm' class='link youtube'></a>
  35. <a href='https://github.com/cdelorme' class='link github'></a>
  36. <a href='skype:casey.delorme?chat' class='link skype'></a>
  37. <div class="scripts">
  38. <script type="text/javascript" src="/js/main.js#c5e63ca" async></script>
  39. </div>
  40. </footer>
  41. </body>
  42. </html>