- Blender version: {{ b3d_version }}
This project is:
- A reusable folder structure,
- suggested file naming, and
- tools for automation (requires 1 and 2.)
- Download the zip, extract and rename the top-level directory
- Adapt [[./DOC/filenaming.md]] to your requirements
- Delete folders and files you don't need for your project
- Clone this git repo
- Copy and rename the folder according to your project
- Ensure you have Python
- Run the post_config script (
.batfor Windows;.shfor Linux/macOS)
After initial project configuration, edit this readme for your project. Fork the template repo to customize for your organization or team.
npm i @garyr/pt-cli
pt learn https://github.com/garyritchie/pt_blender
pt init pt_blender ./path/to/MY_PROJECTpt init pt_blender ./path/to/MY_NEW-TEMPLATE
pt config pt_blender --json > ./path/to/MY_NEW-TEMPLATE/.pt-template.jsonEdit the post_config scripts, .pt-template.json, and readme.md, then:
pt learn ./path/to/MY_NEW-TEMPLATEFor more information and examples see https://github.com/garyritchie/pt-cli/blob/main/doc/usage.md
Python 3.x required to use the scripts in ./APP/
python ./APP/getblender.py -h- For retrieving latest point-release. Symlinks it to your path.python ./APP/tasks.py -h- Work-in-progress translation of my main makefile. Relies heavily on companion.makercor environment variables.
Placing the template as a sibling to your organizations allows python ./APP/tasks.py update to work from within a project folder.
For example, given the structure below, doing python ./APP/tasks.py update within PROJECT_B will pull newer shell scripts from the PROJECT_TEMPLATE two levels up. An .update-exclude in the project root will prevent listed files from getting overwritten.
Project retrospective is an opportunity to migrate time-saving improvements of tools and structure back to the template.
.
├── .env
├── ORGANIZATION_ONE/
│ ├── .env
│ ├── .makerc
│ ├── PROJECT_A/
│ └── PROJECT_B/
├── ORG_THREE/
│ ├── .env
│ ├── .makerc
│ ├── PROJECT_ONE/
│ └── PROJECT_TWO/
├── ORG_TWO/
│ ├── .env
│ ├── .makerc
│ └── PROJECT_1/
└── PROJECT_TEMPLATE/