Development Workflow
This document describes the standard workflow for developing, testing, and deploying the eN-LIS project.
1. Local Development
- Clone the repository and install dependencies:
git clone <repo-url>
cd CLIENT_ENLIS
bun install
bun run dev - The app runs at
http://localhost:7070by default.
2. Project Structure
- See Project Structure for details on folders and files.
3. Feature Development
- Create a new branch from
developfor your feature or bugfix. - Follow the code style and use existing components/hooks where possible.
- Add or update documentation in
/docsas needed.
4. Testing
- Test your changes locally in both dev and production builds:
bun run build:test
bun run preview - Write unit and integration tests if applicable.
5. Committing & Pushing
- Use clear, descriptive commit messages.
- Push your branch and create a merge request (MR) to
develop.
6. CI/CD Pipeline
- GitLab CI/CD runs on
developandmasteronly. - Pipelines will build, test, and deploy automatically if successful.
7. Deployment
- Test deployments go to
test.en-lis.comfromdevelop. - Production deployments go to
en-lis.comfrommaster(manual trigger).
8. Documentation
- Update
/docsfor any new features, changes, or workflows. - Use Markdown for all documentation.