Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2415)

Unified Diff: app/views/doc/pub-serve.html

Issue 162403002: Remove docs and point to ones on dartlang.org. (Closed) Base URL: https://github.com/dart-lang/pub-dartlang.git@master
Patch Set: Fit in 80 columns. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/views/doc/pub-lish.html ('k') | app/views/doc/pub-upgrade.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/views/doc/pub-serve.html
diff --git a/app/views/doc/pub-serve.html b/app/views/doc/pub-serve.html
deleted file mode 100644
index 8f669a38f70ae5ced61295d3d117cb27ef34bd87..0000000000000000000000000000000000000000
--- a/app/views/doc/pub-serve.html
+++ /dev/null
@@ -1,66 +0,0 @@
-<pre><code>$ pub serve [--port &lt;number&gt;]
-</code></pre>
-
-<p>This command starts up a <em>development server</em>, or <em>dev server</em>,
-for your Dart web app. The dev server is an HTTP server on localhost
-that serves up your web app&rsquo;s <a href="glossary.html#asset">assets</a>.</p>
-
-<p>Start the dev server from the directory that contains your web app&rsquo;s
-<code>pubspec.yaml</code> file:</p>
-
-<pre><code>$ cd ~/dart/helloworld
-$ pub serve
-Serving helloworld on http://localhost:8080
-</code></pre>
-
-<p>The dev server doesn&rsquo;t just serve up assets, it produces them by running
-<a href="glossary.html#transformer">transformers</a>. A transformer converts input
-assets (such as Dart files or Polymer-formatted HTML) into output assets
-(such as JavaScript and HTML).</p>
-
-<p>These output assets aren&rsquo;t in the file system; they exist only in the dev
-server. When you&rsquo;re ready to deploy, generate output files by running
-<a href="pub-build.html"><code>pub build</code></a>.</p>
-
-<p>Pub automatically includes a dart2js transformer that compiles your Dart code
-to JavaScript. With this, you can change some Dart code, refresh your
-non-Dartium browser, and immediately see the changes.</p>
-
-<p>See <a href="assets-and-transformers.html">Assets and Transformers</a> for
-information on:</p>
-
-<ul>
- <li>Where in your package to put assets.</li>
- <li>What URLs to use when referring to assets.</li>
- <li>How to use <code>pubspec.yaml</code> to specify which transformers run, and in
-what order.</li>
-</ul>
-
-<h2 id="options">Options</h2>
-
-<h3 id="port"><code>--port</code></h3>
-
-<p>By default the dev server uses <code>http://localhost:8080</code>. To change the port
-number, use the <code>--port</code> option:</p>
-
-<pre><code>$ pub serve --port 9080
-Serving helloworld on http://localhost:9080
-</code></pre>
-
-<h3 id="modemode"><code>--mode=&lt;mode&gt;</code></h3>
-
-<p>Specifies a transformation mode. Typical values are &ldquo;debug&rdquo; and &ldquo;release&rdquo;, but
-any word is allowed. Transformers may use this to change how they behave.</p>
-
-<p>If set to &ldquo;release&rdquo; pub will generate minified JavaScript using dart2js.
-Otherwise, it generates it unminified. Also, in release mode, Pub will not
-include any source .dart files in the resulting build output since they have
-been compiled to JavaScript. In any other mode, the raw Dart files will be
-included.</p>
-
-<p>If omitted, it defaults to &ldquo;debug&rdquo;.</p>
-
-<h2 id="what-about-dart-editors-server">What about Dart Editor&rsquo;s server?</h2>
-
-<p>Dart Editor has its own dev server. We plan to unify it with the
-pub dev server soon.</p>
« no previous file with comments | « app/views/doc/pub-lish.html ('k') | app/views/doc/pub-upgrade.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698