|
| 1 | +# New Project |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | +Open **Neues Projekt** from the dashboard. The dialog supports three different jobs: create a starter project, create from your own template, or add an existing folder. |
| 6 | + |
| 7 | +## Create a starter project |
| 8 | + |
| 9 | +Choose **Neues Projekt erstellen**, then select a starter such as Node.js, React, Spring Boot, Python or Rust. |
| 10 | + |
| 11 | +You provide: |
| 12 | + |
| 13 | +| Field | Meaning | |
| 14 | +|---|---| |
| 15 | +| Project name | The folder name and default display name | |
| 16 | +| Parent folder | The directory in which the new folder is created | |
| 17 | +| Starter | The base files Code Deck should generate | |
| 18 | +| Initialize Git | Runs `git init` after the files are created | |
| 19 | +| Preferred IDE | The editor used by the main open button | |
| 20 | + |
| 21 | +Code Deck shows the final path before creating anything. |
| 22 | + |
| 23 | +Dependencies are not installed automatically. This avoids running package-manager commands without a clear user action. For a generated React project, for example, open its terminal afterwards and run `pnpm install` or `npm install`. |
| 24 | + |
| 25 | +## Use a custom template |
| 26 | + |
| 27 | +Custom templates are ordinary local folders registered under **Einstellungen → Eigene Projektvorlagen**. |
| 28 | + |
| 29 | +When you select one during project creation, Code Deck copies the template contents into the new project folder. These generated or repository-specific directories are skipped: |
| 30 | + |
| 31 | +```text |
| 32 | +.git |
| 33 | +node_modules |
| 34 | +target |
| 35 | +dist |
| 36 | +build |
| 37 | +``` |
| 38 | + |
| 39 | +A template is useful when your projects usually begin with the same configuration, folder structure, scripts or internal defaults. |
| 40 | + |
| 41 | +## Add an existing project |
| 42 | + |
| 43 | +Choose **Vorhandenen Ordner hinzufügen** when the project is already on disk. |
| 44 | + |
| 45 | +Code Deck reads common files such as: |
| 46 | + |
| 47 | +```text |
| 48 | +package.json |
| 49 | +Cargo.toml |
| 50 | +pom.xml |
| 51 | +build.gradle |
| 52 | +pyproject.toml |
| 53 | +go.mod |
| 54 | +Dockerfile |
| 55 | +.git |
| 56 | +``` |
| 57 | + |
| 58 | +This information is used to suggest frameworks, tags and package scripts. The project files are not rewritten. |
| 59 | + |
| 60 | +## Scan a base folder |
| 61 | + |
| 62 | +Use **Ordner scannen** on the dashboard when many repositories are stored below one parent folder. The scan proposes likely projects; you still decide which ones are added. |
| 63 | + |
| 64 | +## Common problems |
| 65 | + |
| 66 | +**The folder already exists:** choose a different project name or parent folder, or add the existing folder instead. |
| 67 | + |
| 68 | +**A starter command is unavailable:** generated files do not require the related runtime immediately, but running the project later still requires Node.js, Java, Python, Rust or the relevant toolchain. |
| 69 | + |
| 70 | +**The preferred IDE is missing:** configure it first under **Einstellungen → IDEs**. |
0 commit comments