第 4 章 Project directory

简介:

一种很蠢目录规划:

project
project/library
project/log
project/tmp
project/...
		

目录规划原则,临时文件分离,日志分离,配置文件分离;这样有利于在负载均衡环境中克隆节点。

  • 项目目录/workspace/project

  • 临时目录 /workspace/tmp/

  • 日志 目录/workspace/log/

  • 配置文件/workspace/conf

Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a>comments powered by Disqus




原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
mkdir: cannot create directory `**': No such file or directory
在mkdir时报错的解决方案,在网上找了很多文章都没有说清楚原因。
475 0
|
8月前
|
存储 算法 安全
TinyKv Project2 PartA RaftKV
TinyKv Project2 PartA RaftKV
103 0
|
存储 API 虚拟化
Project Pacific的第一次接触
谈谈自己与VMware Pacific产品的第一次接触,提供一些配置的参考,感兴趣的朋友们可以一起对照着在自己的环境中进行模拟。
Project Pacific的第一次接触
|
JavaScript
The file is in the program because: Imported via xxx Root file specified for compilation Vetur(1261)
The file is in the program because: Imported via xxx Root file specified for compilation Vetur(1261)
205 0
The file is in the program because: Imported via xxx Root file specified for compilation Vetur(1261)
|
Android开发
Migrate Project to Gradle? This project does not use the Gradle build system
Migrate Project to Gradle? This project does not use the Gradle build system
110 0
|
Java Android开发
eclipse project修改 output folder
eclipse project修改 output folder
145 0
|
开发工具 Android开发
The path ‘E:\ZERO‘ does not belong to a directory.
The path ‘E:\ZERO‘ does not belong to a directory.
261 0
The path ‘E:\ZERO‘ does not belong to a directory.
|
Ruby 开发工具 关系型数据库