5. If needed, add fluxio/backend_mock as well (if this is the case you can just add the fluxio module, this includes both the frontend and the backend mock)
```sh
# For both
axii workspace add fluxio
# For fluxio_frontend only
# For fluxio
axii workspace add fluxio/frontend
# For fluxio_backend_mock only
axii workspace add fluxio/backend_mock
```
6. Upgrade your workspace
```sh
axii workspace upgrade
```
7. Fluxio frontend (and backend mock if installed) should now be installed inside your workspace
7. Fluxio should now be installed inside your workspace
#### You can use the frontend with following commands:
Host the website locally on a server (if asked to install dependencies, answer with "y"):
...
...
@@ -129,10 +124,8 @@ Update the npm packages used:
fluxio install
```
For more information about the backend mock and how to use it please look [here](https://git.h2t.iar.kit.edu/sw/armarx/core/fluxio/backend-mock)
### Troubleshooting
- If there is no backend running already, you need to start the backend mock before you can use the frontend (the frontend will start without the backend but you will not be able to use anything that requires it)
- If there is no backend running already, you need to start the backend before you can use the frontend (the frontend will start without the backend but you will not be able to use anything that requires it)
- In case the dev command is not working, you can use 'fluxio_frontend_run_server' to start the frontend (this will not use hot reload)
- In case of issues with the npm dependencies, you can try to run 'fluxio_frontend_install' to update the dependencies. If this doesn't resolve the issue, please contact us.
...
...
@@ -241,7 +234,7 @@ npm run test:unit
#### Run integration tests with [Playwright](https://playwright.dev/)
Requires the [provider mock](https://git.h2t.iar.kit.edu/sw/armarx/core/fluxio/backend-mock) to run.