Skip to content

Commit

Permalink
deploy: 0e480e9
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jul 10, 2024
1 parent 589f19b commit c82029e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docs/usage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,18 @@ <h3>init</h3>
</span><span style="color:#c0c5ce;">$ cobalt init myBlog
</span></code></pre>
<h3>serve</h3>
<p>Serve your site at <code>127.0.0.1:3000</code></p>
<p>To serve your site locally, run:</p>
<pre style="background-color:#2b303b;">
<code><span style="color:#c0c5ce;">$ cobalt serve
</span><span style="color:#c0c5ce;">$ # Include drafts
</span><span style="color:#c0c5ce;">$ cobalt serve --drafts
</span><span style="color:#c0c5ce;">Building from `.` into `/tmp/.tmpgYpScM`
</span><span style="color:#c0c5ce;">Watching . for changes
</span><span style="color:#c0c5ce;">Serving /tmp/.tmpgYpScM through static file server
</span><span style="color:#c0c5ce;">Server Listening on http://localhost:1024
</span><span style="color:#c0c5ce;">Ctrl-c to stop the server
</span></code></pre>
<p>This provides live reload; it will re-generate your site as you add or change content.</p>
<p>Use the <code>--host</code> argument to listen on a different address (ex. 0.0.0.0/INADDR_ANY);
the default is <code>localhost</code>. Use <code>--port</code> (or <code>-P</code>) to listen on a different TCP port
number (default: 3000).</p>
the default is <code>localhost</code>. Use <code>--port</code> (or <code>-P</code>) to listen on a specific TCP port
number.</p>
<h3>new</h3>
<p>Add a new page or post to your site:</p>
<pre style="background-color:#2b303b;">
Expand Down

0 comments on commit c82029e

Please sign in to comment.