This commit is contained in:
nixa 2016-09-20 11:36:39 +03:00
parent d70c1f3bf5
commit 43257a6081
8 changed files with 59 additions and 40 deletions

View file

@ -51,7 +51,8 @@
<div class="inner-content">
<h1>Installation Guidelines</h1>
<div class="subHeader"></div><h2 id="prerequisites">Prerequisites</h2>
<p>Despite BlurAdmin can be run without any development experience, it would be much easier if you already have some. In general following instructions allow you to run a local copy on your&nbsp;machine.</p>
<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&nbsp;machine.</p>
<h2 id="install-tools">Install&nbsp;tools</h2>
<p>If you dont have any of these tools installed already, you will need&nbsp;to:</p>
<ul>
@ -78,7 +79,7 @@
<p>You will need to clone the source code of ng2-admin GitHub&nbsp;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 repository is cloned, go inside of the repository directory and install&nbsp;dependencies:</p>
<p>After the repository is cloned, go inside of the repository directory and install&nbsp;dependencies:</p>
<pre><code class="lang-bash"><span class="built_in">cd</span> ng2-admin
npm install
</code></pre>
@ -86,15 +87,18 @@ npm install
<pre><code>## Running local copy
To run a local copy in development mode, execute:
```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&nbsp;browser.</p>
<p>To run the local copy in production mode and build the sources,&nbsp;execute:</p>
<pre><code class="lang-bash">npm run prebuild:prod &amp;&amp; npm run build:prod &amp;&amp; npm run server:prod
</code></pre>
<p>This will clear up your dist folder (where release files are located), generate release build and start built-in server.
Now you can copy the sources from a <code>dist</code> folder and use it with any backend framework or simply put it under some web&nbsp;server.</p>
<p>For addition information about build, please check out <a href="https://github.com/AngularClass/angular2-webpack-starter">Angular2 Webpack Starter&nbsp;documentation</a></p>
<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&nbsp;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&nbsp;documentation</a></p>
</div>
</section>