newlook

1.0.0 • Public • Published

Pipeline Status

夏洛克前端项目

  • 这是夏洛克(Sharplook)重构之后的新项目仓库

基础构架

使用 angular.js 构建

使用 bootstrap 样式库搭建前端 UI

路由使用 ui-router

文件使用 webpack 2+ 打包

开始工作

  • 首先 Fork 这个项目
  • 把代码拉取下来:git clone git@gitlab.eoitek.net:你的名称/newlook.git
  • 添加 EOI 远端:git remote add upstream git@gitlab.eoitek.net:EOI/newlook.git
  • 安装依赖:npm install,确保 npm --version4.6.1
  • 启动项目:make
  • 如果你使用 linux,发现自动 watch 不生效,请看这里: https://webpack.github.io/docs/troubleshooting.html#not-enough-watchers

建议使用的编辑器

  • VS Code,请安装 ESLint 插件
  • Sublime,请安装 SublimeLinter 和 SublimeLinter-contrib-eslint 插件
  • WebStorm
  • 以上所有工具都建议打开 自动清除行尾空格自动添加新行 配置

交付测试

  • 提交代码后,项目会自动发布到 https://newlook.eoitek.net
  • 如果提示 DNS 解析错误,请绑定 host: 192.168.31.102

本项目在 GitHub 上的镜像地址

# crontab -e
*/5  *  *  *  *  cd /var/opt/gitlab/git-data/repositories/EOI/newlook.git && git push github &>> /root/github.log

有问题请找

Readme

Keywords

none

Package Sidebar

Install

npm i newlook

Weekly Downloads

5

Version

1.0.0

License

UNLICENSED

Unpacked Size

16.7 MB

Total Files

1794

Last publish

Collaborators

  • peiru.gu