- 服务器:nginx
- service服务器:node.js
- 数据库:待定(几大可能是 mysql+ sqlite)
- 前端:bigpipe
- 总体倾向于 SPA
npm install
npm install gulp -g
npm install gulp --save-dev
npm install gulp-ruby-sass gulp-autoprefixer gulp-minify-css gulp-jshint gulp-concat gulp-uglify gulp-imagemin gulp-clean gulp-notify gulp-rename gulp-livereload gulp-cache --save-dev
gulp dev
这只是一个示例,更详细的说明请参见项目文档。
server {
listen 12306;
server_name localhost;
root /path/to/webmail/static/;
location ~* \.(gif|jpg|jpeg|css|js|bmp|png|woff|ttf|etf)$ {
root /path/to/webmail/static/;
access_log off;
expires 30d;
}
location / {
proxy_pass http://127.0.0.1:8088;
}
}