The project is composed of two sub-projects, managed as GitHub submodules:
-
settings-dashboard
Path:./settings-dashboard/
Documentation: settings-dashboard readme -
dashboard-core
Path:./dashboard-core/
Documentation: dashboard-core readme
Install project dependencies:
pnpm installConfigure the following environment variables by referring to their respective documentation:
- Core Configuration
Path:./settings-dashboard/config/core.env.json
Documentation: core.env.json documentation
Start the development server:
pnpm startUse Docker to simulate a PCS (Personal Cloud Server) environment, which is closer to the real deployment environment.
This simulates a state just after a PCS has been created (with .env and os-init.sh executed)
Setup Steps:
-
Configure the development environment
Configuredev-envaccording todev/run/dev-env.example -
Start the Docker environment
Ensure Docker is running, then execute:.\dev\run-simple.ps1
Important Notes:
- Clean Installation: The run-simple script automatically cleans Docker volumes for fresh testing
- Yundera stack: this process will create a non-functional Yundera stack that can be ignored
- Authentication: The login credentials will be those defined by the authority in
config/core.env.jsonunder"AUTHORITY_ENDPOINT"
Build and publish using Dockflow:
npx dockflow build
npx dockflow publish./
├── settings-dashboard/ # Main dashboard application
│ ├── config/
│ │ ├── core.env.json
│ └── readme.md
├── dashboard-core/ # Core functionality
│ └── readme.md
└── README.md*