0.3.25 • Published 8 years ago

fd-server v0.3.25

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

fd-server

Build Status 依赖模块状态 浏览数

Fds 是一套统一的本地开发环境,面向工程化的前端开发项目。简化开发人员生产时对服务配置的依赖,提高前端开发人员的开发效率。面向自动化的项目流程管理,交付,测试。减少复杂的人工操作。自身包含的扩展机制,也能够提供给开发者灵活多变的个性化服务定制方案, 同时Fds也是一套跨平台的本地开发环境,完美支持win,linux,mac os。


下载安装

安装wiki


命令行工具

$ fd-server -h

  Usage: fd-server [command]

  Commands:

    start                  start the fd-server server
    startDaemon            start with daemon
    stop                   stop the fd-server server
    restart                restart the fd-server server

  Options:

    -h, --help     output usage information
    -V, --version  output the version number
    

快速上手

安装成功后,使用start命令开启服务。

$ sudo fd-server start

启动完成之后可访问 http://fd.server 访问服务配置页面。

浏览器代理配置帮助

扩展接口

有的时候我们往往需要模拟一些后端接口,或者做一些动态解析的功能,或者扩展动态路由。fd-server支持给vhost的静态服务扩展路由。 只需要在静态目录下放置 .node 的扩展名文件,代码书写如下:

//someroute.node
route(function(req,res){
   res.writeHead(200,{'Content-Type':'text/plain'});
   res.end('someroute');
});

那么当你访问对应host域名下得/someroute.node地址则会自动转入当前文件的route函数路由中,可随意扩展。


注意事项

startDaemon stop start restart 命令都需要管理员权限,linux or mac下使用 sudo fd-server start win下会有权限的窗口提醒,需要确认。


贡献

 project  : fd-server
 repo age : 10 months
 active   : 65 days
 commits  : 404
 files    : 158
 authors  : 
   127  fu                      31.4%
    79  RK-WJW                  19.6%
    70  liuxiaoyue              17.3%
    59  xiaojue                 14.6%
    46  Your Name               11.4%
    19  Xiaojue                 4.7%
     2  RK_CODER                0.5%
     1  myluluy                 0.2%
     1  root                    0.2%

License

MIT license

0.3.25

8 years ago

0.3.24

9 years ago

0.3.23

9 years ago

0.3.22

9 years ago

0.3.21

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.9

10 years ago

0.2.8

10 years ago

0.2.7

10 years ago

0.2.6

10 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago