Giter Site home page Giter Site logo

ng2-admin's Introduction

#Taurus 纬度空间后台

一、项目启动方法

1. 设置镜像

npm config set registry https://registry.npm.taobao.org && npm config ls 淘宝的镜像,比国外的快n倍

; cli configs
user-agent = "npm/3.9.5 node/v4.4.5 win32 x64"

; userconfig C:\Users\Administrator\.npmrc
email = "[email protected]"
registry = "https://registry.npm.taobao.org/"

; node bin location = D:\Program Files\nodejs\node.exe
; cwd = E:\oscchina\Taurus
; HOME = C:\Users\Administrator
; "npm config ls -l" to show all defaults.

2. 更新npm

npm install -g npm
如果是mac 请用sudo npm install -g npm

3.查看npm版本 确保是npm3.x以上

npm -v

E:\oscchina\Taurus>npm -v
3.9.5

4. 安装typescript编译工具

npm install -g typings

5. 安装依赖

npm install

3.1. 如果发现node-sass安装失败 再执行一次 npm install node-sass,不报错就可以了。这源自于天朝的牛逼墙

6. 运行项目

npm run start

7. 访问项目

http://localhost:3333

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.