2016-05-23 12:13:30 +03:00
---
title: Installation Guidelines
author: vl
sort: 500
group: Quick Start
template: article.jade
---
## Prerequisites
2016-05-25 14:35:19 +03:00
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 machine.
2016-05-23 12:13:30 +03:00
## Install tools
2016-05-23 14:10:42 +03:00
If you don't have any of these tools installed already, you will need to:
2016-05-23 12:13:30 +03:00
* Download and install [git ](https://git-scm.com/ )
* Download and install nodejs [https://nodejs.org ](https://nodejs.org )
2016-05-23 14:10:42 +03:00
**Note**: Make sure you have Node version >= 4.0 and NPM >= 3
Once you have those, you should install these globals with `npm install --global` :
* webpack
```bash
npm install --global webpack
```
* webpack-dev-server
```bash
npm install --global webpack-dev-server
```
* typescript
```bash
2016-08-31 18:40:12 +03:00
npm install --global typescript@2 .0.0
2016-05-23 14:10:42 +03:00
```
2016-05-23 12:13:30 +03:00
## Clone repository and install dependencies
2016-05-23 14:10:42 +03:00
You will need to clone the source code of ng2-admin GitHub repository:
2016-05-23 12:13:30 +03:00
```bash
2016-05-23 14:10:42 +03:00
git clone https://github.com/akveo/ng2-admin.git
2016-05-23 12:13:30 +03:00
```
2016-05-23 14:10:42 +03:00
After repository is cloned, go inside of the repository directory and install dependencies:
2016-05-23 12:13:30 +03:00
```bash
2016-05-23 14:10:42 +03:00
cd ng2-admin
2016-05-23 12:13:30 +03:00
npm install
```
2016-05-23 14:10:42 +03:00
This will setup a working copy of ng2-admin on your local machine.
2016-05-23 12:13:30 +03:00
2016-07-11 17:20:30 +03:00
```
2016-05-23 12:13:30 +03:00
## Running local copy
2016-05-23 14:10:42 +03:00
To run a local copy in development mode, execute:
2016-05-23 12:13:30 +03:00
```bash
2016-05-23 14:10:42 +03:00
npm start
2016-05-23 12:13:30 +03:00
```
2016-05-23 14:10:42 +03:00
Go to http://0.0.0.0:3000 or http://localhost:3000 in your browser.
2016-05-23 12:13:30 +03:00
2016-05-23 14:10:42 +03:00
To run the local copy in production mode and build the sources, execute:
2016-05-23 12:13:30 +03:00
```bash
2016-05-23 14:10:42 +03:00
npm run prebuild:prod & & npm run build:prod & & npm run server:prod
2016-05-23 12:13:30 +03:00
```
2016-05-23 14:10:42 +03:00
This will clear up your dist folder (where release files are located), generate release build and start built-in server.
2016-05-25 14:35:19 +03:00
Now you can copy the sources from a `dist` folder and use it with any backend framework or simply put it under some web server.
2016-05-23 14:10:42 +03:00
For addition information about build, please check out [Angular2 Webpack Starter documentation ](https://github.com/AngularClass/angular2-webpack-starter )