This guide covers local builds of Intertwine-Ai-Image-Enhanced and the checks expected before publishing a release.
- Node.js 18+ and npm
- Python 3.11+
- Python dependencies from
backend/requirements.txt - A local-only
backend/.envfile (never commit it)
npm install
npm run buildThe frontend output is written to dist/. It is reproducible build output and should not be committed.
python -m compileall backend/app
python -m unittest discover backend/tests
npm run lint:check
npm run buildUse start.bat on Windows or ./start.sh on Linux/macOS. The production shape serves the built frontend and API from one Python port.
- Confirm the build was produced from the intended commit.
- Confirm
.envfiles, API keys, runtime data, logs, caches,dist/, and local release archives are absent from the commit. - Back up the backend data directory and authentication state separately.
- If a modified version is offered as a network service, provide the corresponding source code as required by section 13 of AGPL-3.0-or-later.