A template for any project that you want. Feel free to fork.
If you want to contribute, just fork and pull request
.
├── bin
│ ├── ...
│ └── ...
├── config
│ ├── ...
│ └── ...
├── docs
│ ├── ...
│ └── ...
├── project
│ ├── ...
│ └── ...
├── tests
│ ├── ...
│ └── ...
├── tmp
│ ├── ...
├ .env-DIST
├ LICENSE
├ Makefile
├ README.md
└ read-the-fucking-readme
- bin:
- Directory for your scripts (run, lint, compile, check, etc.).
- config
- Directory for internal configuration stuff. Configuration files in this directory typically don't vary between deploys, servers or environments. Any configuration that vary between deploys are stored in environment variables.
.env
(git ignored) file serves to this purpose and it is automatically loaded onbin/configure.sh
.
- Directory for internal configuration stuff. Configuration files in this directory typically don't vary between deploys, servers or environments. Any configuration that vary between deploys are stored in environment variables.
- docs
- Directory for documentation. I like Markdown for high-level documentation.
- env
- I like to keep my defaults enviroment variables in files. This directory contains three basics files:
devel
,test
andprod
. Also, in my projects, I use a gitignored file calledlocal
for custom variables.
- I like to keep my defaults enviroment variables in files. This directory contains three basics files:
- project
- Directory containg the real code for your project. Some people may rename it to src. I like project because in Python
import project.foo
makes more sense thanimport src.foo
.
- Directory containg the real code for your project. Some people may rename it to src. I like project because in Python
- tests
- Directory containing all tests for your project.
- tmp
- Directory containing any files you want near you, but that need not be in the repository (and should not appear in git status).
To "install", execute the following script:
curl -sL https://github.com/RomuloOliveira/template-project/raw/0.1.0/setup.sh | bash -
Note: Existing files are not overwritted.