GithubHelp home page GithubHelp logo

qinfengmu / ng-nice Goto Github PK

View Code? Open in Web Editor NEW

This project forked from angular-cn/ng-nice

0.0 2.0 0.0 14.34 MB

NgNice Web Site http://ngnice.com

License: MIT License

JavaScript 82.06% Shell 0.01% CSS 16.46% HTML 1.48%

ng-nice's Introduction

NgNice

站点:http://ngnice.com/

NgNice 站点是由一批 Angular.js 爱好者发起的,致力于打造一个 Angular.js 的学习和经验分享平台。 目前 NgNice 平台不对外开放注册功能,站内分享内容主要由 NgNice 官方团队进行维护,如果你也是 Angular.js 的爱好者, 并且乐于分享你的经验给其他人,那就加入我们吧! 官方团队成员参见:点击查看团队成员。 NgNice站点目前提供的功能如下:

  1. 简单的内容发布系统,主要分享一些 Angular.js 使用的经验和精品文章;
  2. Angular.js开发指南中文翻译的展示,github源码地址:https://github.com/jingyanjiaoliu/angular-guide-zh
  3. Angular.js showcase项目的展示,目前处于开发阶段,github源码地址:https://github.com/angular-cn/ng-showcase

详细说明参见:http://ngnice.com/about

整体架构技术说明

服务端技术:Node.js >=0.10.x + Express >=4.x + Mongodb >=2.x

前端技术:Angular.js >= 1.2.x + Bootstrap >= 3.x

本地搭建步骤

  1. 配置开发环境的配置文件 server/config/development.js (包括 mongodb 数据库链接字符串和 cookie_secret);
  2. 运行命令 npm install 安装 NodeJS Modules;
  3. 运行命令 node app 或者 npm run start-dev 启动服务;
  4. 生产环境使用 NODE_ENV=production node app 或者 npm start(仅限linux环境下)。
  5. 生产环境使用的配置文件为 server/config/production.js 和 production.confidential.js(数据库和cookieSecret铭感信息是不在代码库中,第一次部署需要新建此文件)

大致目录结构

.
|-- bin
|-- server
|   |-- api
|   |-- config
|   |-- controller
|   |-- data
|   |   `-- model
|   |-- lib
|   |-- mailer
|   `-- validation
|-- test
|   |-- karma
|   `-- mocha
|       `-- data
`-- web
    |-- static
    |   |-- css
    |   |-- fonts
    |   |-- img
    |   |-- js
    |   |   |-- controller
    |   |   |-- directive
    |   |   |-- filter
    |   |   |-- service
    |   |   `-- tpl
    |   |       |-- common
    |   |       `-- directive
    |   |-- lib
    `-- view
        |-- footer
        |-- header
        |-- home
        |-- post
        |-- shared
        `-- user

ng-nice's People

Contributors

why520crazy avatar donghongfei avatar

Watchers

James Cloos avatar fengmu qin  avatar

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.