Hand scanner for engineers, scientists and medics.
- Node v18.14.0
- Vue v2.6.14
Copy .env.example
file to a file named .env
and changle the default environmental variables as following:
VUE_APP_BACKEND_URL=http://localhost:8888/
VUE_APP_BACKEND_USER=
VUE_APP_BACKEND_PASS=
NOTE!
Make sure you are running Odysseus Backend!- Run
npm install
to install dependencies - Run
npm run serve
for compiles and hot-reloads for development
HANSCA should now be available at http://localhost:8080/
You can also run the app using VSCode dev containers. Create/update your .env file like in the local setup instructions.
- Docker
- VSCode with Dev Containers extension
- Odysseus Backend
NOTE!
Make sure you are runningOdysseus Backend
!- Check you have your .env file copied as instructed above in Environment file
- Open new window in VSCode
- File --> Open Folder... -->
odysseus-admin-story-tool
- VSCode will ask do you want to
Reopen in Container
--> Click it- If you are too slow --> Click the button in left bottom corner (looks like two L:s or disjointed ><) and choose
Reopen in Container
from the menu.
- If you are too slow --> Click the button in left bottom corner (looks like two L:s or disjointed ><) and choose
- VSCode will then build and start up the dev container, installs npm packages and starts the service.
- Try to rebuild the container: Click the button in left bottom corner (looks like two L:s or disjointed >< with the container name) and choose
Rebuild Container
from the menu. - You might run into this issue on ARM processors, see the issue for potential workarounds.
- Medic:
bio3
(in a NFC tagbio:bio3
) - Engineer:
bio78
(in a NFC tagbio:bio78
) - Scientist:
bio11
(in a NFC tagbio:bio11
)
npm run build
npm run test
npm run lint
npm run deploy
See Game config examples.