16 lines
1.8 KiB
Markdown
16 lines
1.8 KiB
Markdown
# Flask/React template
|
|
|
|
This independently maintained Forge template migrates the tracked source of `flask-react-auth-base` at commit `ff139bf5f28f4604b4a7108f4ee26608dea9924e`. The external source repository remains unchanged. The copied `source/` holds Flask authentication, SQLAlchemy migrations, React/Vite, Docker/nginx, and their tests. `boilerplate/` supplies fresh project context and neutral setup documentation. `template.json` is the descriptor consumed by future Forge orchestration.
|
|
|
|
Generate a project in a new directory:
|
|
|
|
```sh
|
|
python3 templates/flask-react/generate.py "My Application" /tmp/my-application
|
|
```
|
|
|
|
Add `--git-init` to initialize a local `main` branch. GitHub is not required. The generator refuses existing destinations and destinations inside Forge. It installs no packages, contacts no provider, and performs no deployment. It leaves profile selection to `bortstack-context`/F007; F005 will later orchestrate template and profile selection together.
|
|
|
|
The generated project has safe local/example configuration: SQLite is the development default, email is disabled, branding and project name are neutral, and Compose has no mandatory external SWAG network. Resend code, MySQL, Docker/nginx, an optional SWAG sample, and a GitHub CI/deployment example remain available. The GitHub workflow stays under `optional/github/` in Forge and is not generated as an active workflow. Enabling external services requires separate project decisions and configuration. See `boilerplate/docs/OPTIONAL_SERVICES.md`.
|
|
|
|
Linux generation was exercised. The Python generator is platform-neutral, but Windows generation and the full generated-project runtime matrix remain to be verified on Windows. The source package is a migration snapshot, not a live dependency on `/home/rob/projects/flask-react-auth-base`.
|