mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-22 09:16:11 +01:00
Updates
This commit is contained in:
parent
be84925112
commit
00a47bf22f
9 changed files with 93 additions and 94 deletions
|
|
@ -52,36 +52,36 @@
|
|||
<h1>Installation Guidelines</h1>
|
||||
<div class="subHeader"></div><h2 id="prerequisites">Prerequisites</h2>
|
||||
<p>Although ng2-admin can be run without any development experience, it would be much easier if you already have some.
|
||||
The following instructions allow you to run a local copy on your machine.</p>
|
||||
<h2 id="install-tools">Install tools</h2>
|
||||
<p>If you don’t have any of these tools installed already, you will need to:</p>
|
||||
The following instructions allow you to run a local copy on your<span class="widont"> </span>machine.</p>
|
||||
<h2 id="install-tools">Install tools</h2>
|
||||
<p>If you don’t have any of these tools installed already, you will need<span class="widont"> </span>to:</p>
|
||||
<ul>
|
||||
<li>Download and install <a href="https://git-scm.com/">git</a></li>
|
||||
<li>Download and install nodejs <a href="https://nodejs.org">https://nodejs.org</a></li>
|
||||
</ul>
|
||||
<p><strong>Note</strong>: Make sure you have Node version >= 4.0 and <span class="caps">NPM</span> >= 3</p>
|
||||
<h2 id="clone-repository-and-install-dependencies">Clone repository and install dependencies</h2>
|
||||
<p>You will need to clone the source code of ng2-admin GitHub repository:</p>
|
||||
<p><strong>Note</strong>: Make sure you have Node version >= 4.0 and <span class="caps">NPM</span> >=<span class="widont"> </span>3</p>
|
||||
<h2 id="clone-repository-and-install-dependencies">Clone repository and install<span class="widont"> </span>dependencies</h2>
|
||||
<p>You will need to clone the source code of ng2-admin GitHub<span class="widont"> </span>repository:</p>
|
||||
<pre><code class="lang-bash">git <span class="built_in">clone</span> https://github.com/akveo/ng2-admin.git
|
||||
</code></pre>
|
||||
<p>After the repository is cloned, go inside of the repository directory and install dependencies:</p>
|
||||
<p>After the repository is cloned, go inside of the repository directory and install<span class="widont"> </span>dependencies:</p>
|
||||
<pre><code class="lang-bash"><span class="built_in">cd</span> ng2-admin
|
||||
npm install
|
||||
</code></pre>
|
||||
<p>This will setup a working copy of ng2-admin on your local machine.</p>
|
||||
<h2 id="running-local-copy">Running local copy</h2>
|
||||
<p>To run a local copy in development mode, execute:</p>
|
||||
<p>This will setup a working copy of ng2-admin on your local<span class="widont"> </span>machine.</p>
|
||||
<h2 id="running-local-copy">Running local copy</h2>
|
||||
<p>To run a local copy in development mode,<span class="widont"> </span>execute:</p>
|
||||
<pre><code class="lang-bash">npm start
|
||||
</code></pre>
|
||||
<p>Go to <a href="http://0.0.0.0:3000">http://0.0.0.0:3000</a> or <a href="http://localhost:3000">http://localhost:3000</a> in your browser.</p>
|
||||
<p>To run the local copy in production mode and build the sources, execute:</p>
|
||||
<p>Go to <a href="http://0.0.0.0:3000">http://0.0.0.0:3000</a> or <a href="http://localhost:3000">http://localhost:3000</a> in your<span class="widont"> </span>browser.</p>
|
||||
<p>To run the local copy in production mode and build the sources,<span class="widont"> </span>execute:</p>
|
||||
<pre><code class="lang-bash">npm run prebuild:prod && npm run build:prod && npm run server:prod
|
||||
</code></pre>
|
||||
<p>This will clear up your dist folder (where release files are located), generate a release build and start the
|
||||
built-in server.
|
||||
Now you can copy the sources from the <code>dist</code> folder and use it with any backend framework or
|
||||
simply put it under a web server.</p>
|
||||
<p>For addition information about creating a build, please check out <a href="https://github.com/AngularClass/angular2-webpack-starter">Angular2 Webpack Starter documentation</a></p>
|
||||
simply put it under a web<span class="widont"> </span>server.</p>
|
||||
<p>For addition information about creating a build, please check out <a href="https://github.com/AngularClass/angular2-webpack-starter">Angular2 Webpack Starter<span class="widont"> </span>documentation</a></p>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue