You can create custom project templates by adding them to scripts/project-templates/.
- Create a directory:
scripts/project-templates/my-template. - Add a
install.shscript (optional) or just populate the directory with files. - Use it:
pem init my-project my-template.
PEM creates centralized environments for IDEs in MANAGED_VENVS_DIR (Default: ~/.venvs).
- Batch Creation: Run
scripts/create-ide-envs.shto create/update all managed environments. - Customization: Edit
IDE_COMMON_PACKAGESinconfig.envto change what gets installed.
PEM is designed to work in CI/CD pipelines.
steps:
- uses: actions/checkout@v3
- name: Install PEM
run: make install
- name: Initialize Project
run: pem init my-app standard
- name: Run Tests
run: |
cd my-app
source .venv/bin/activate
pytestSee TROUBLESHOOTING.md for common issues.