mac.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. title: "Mac",
  3. crumbs: [
  4. { 'Getting Started': '../start/' },
  5. { 'Installing': 'installing.html' },
  6. ],
  7. }
  8. <h1>Installing on Mac</h1>
  9. <p>The Embedthis GoAhead install distribution for Mac OS X is published as a an installable pkg file.</p>
  10. <a id="pkg"></a>
  11. <h2 >Installing the PKG Image</h2>
  12. <ol>
  13. <li>Double click on the PKG image.</li>
  14. </ol>
  15. <a id="removing"></a>
  16. <h2 >Removing GoAhead</h2>
  17. <ol>
  18. <li>Run a terminal and change directory to the installation directory for GoAhead. This is typically
  19. "/etc/goahead".</li>
  20. <li>Run the remove script in the install directory for GoAhead by typing
  21. </li>
  22. </ol>
  23. <pre class="ui code segment">
  24. sudo ./uninstall
  25. </pre>
  26. <a id="running"></a>
  27. <h2 >Running GoAhead</h2>
  28. <p>To start GoAhead type:</p>
  29. <pre class="ui code segment">
  30. sudo goahead --home /etc/goahead
  31. </pre>
  32. <p>GoAhead is configured by default to listen on port 80. To test that it is serving pages, point your
  33. browser at http://localhost/.
  34. <p>To get all the options for GoAhead read the man page via:</p>
  35. <pre class="ui code segment">
  36. man goahead
  37. </pre>or get the command help via:
  38. <pre class="ui code segment">
  39. goahead --help
  40. </pre>