Setup With oCIS
Table of Contents
Setting Up Web
-
Clone the repository.
-
Initally install all dependencies by running
pnpm install. -
Copy
./web/config/config.json.sample-ocisto./web/config/config.jsonand adjust values if required.
Setting Up oCIS
-
Setup oCIS by following the setup instructions
-
Start oCIS with local links to your bundled web frontend and config by running the following command, adjust the paths as necessary:
WEB_ASSET_CORE_PATH=../../web/dist \ WEB_UI_CONFIG_FILE=../../web/dist/config.json \ OCIS_INSECURE=true \ IDM_CREATE_DEMO_USERS=true \ ./bin/ocis server
Start oCIS
-
Open
https://localhost:9200and accept the certificate. -
When signing in, use one of the available demo users.
-
Whenever code changes are made, you need to manually reload the browser page (no hot reload).
Running Tests
For testing, please refer to the testing docs.