🔁 Synticore Website Compiler - Workflow
🎯 Purpose
This page provides practical, repeatable workflows for common day-to-day and release tasks.
🆕 First-Time Project Setup Workflow
- Install dependencies at compiler root:
npm install
pip install -r requirements.txt
- Select project (GUI or
config/settings.json->dir_recent[0]). - Validate environment:
npm run gulp about
- Run initial build:
npm run gulp build
🔁 Daily Local Development Workflow
Use watch mode for active development:
npm run gulp watch
Typical loop:
- Edit source files under
<project>/in/ - Let watch rebuild affected assets/pages (including dependency-triggered tasks when a referenced file changes or is deleted)
- Verify output in browser
- Repeat
If behavior looks stale:
npm run gulp rebuild
🧩 Config-Change Workflow
When changing config.json or schema behavior:
npm run gulp sort_config
npm run gulp build_config
npm run gulp build
If needed, force clean config refresh:
npm run gulp rebuild_config
🎯 Asset-Focused Workflow (Fast Targeted Rebuilds)
Use scoped rebuild tasks to keep feedback fast:
npm run gulp rebuild_stylesheet
npm run gulp rebuild_javascript
npm run gulp rebuild_image
Other common targets:
rebuild_htmlrebuild_font_iconrebuild_faviconrebuild_mirror
📦 Release Packaging Workflow
- Run clean full build:
npm run gulp reset
npm run gulp build
- Produce package outputs:
npm run gulp package
- Collect artifacts from project
_package/(and/or configured package outputs).
🧭 Migration Workflow (Older Project To Current Compiler)
- Back up project directory.
- Check version state:
npm run gulp about
- Run migration:
npm run gulp project_update_full
- Validate:
npm run gulp build
npm run gulp package
For custom migration range testing:
npm run gulp project_update_directed
🧯 Incident/Debug Workflow
- Reproduce with explicit task command.
- Read logs in this order:
<project>/_log/task_<task>.log<compiler>/_log/gulpfile.log<compiler>/_log/gui.log(if GUI involved)
- Run baseline checks:
npm run gulp about
npm run gulp rebuild
- If still unresolved, capture logs + config excerpt and file an issue.
⚡ Command Quick Sheet
# General
npm run gulp about
npm run gulp build
npm run gulp watch
npm run gulp browser
npm run gulp plan
npm run gulp package
# Clean/Rebuild
npm run gulp reset
npm run gulp rebuild
# Migration
npm run gulp project_update_full
npm run gulp project_update_directed