Created
June 14, 2020 13:09
-
-
Save meriororen/49668e350fc3c18921282e835b3bc194 to your computer and use it in GitHub Desktop.
FTW deployment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run this on ubuntu or debian | |
1. Install Docker | |
2. Install Docker-Compose | |
3. Pull https://gitlab.com/hardtmann/fit-to-work-web | |
4. Open prepare.sh | |
5. Modify all devices' Vendor ID and Product ID, and save | |
6. Run prepare.sh with sudo | |
7. If all is well, when you connect any of the devices, you should see 'tempdev, hbpdev, or pulseoxidev' under /dev | |
8. Open docker-compose.yml, set "TEMPDEV_ENABLED, HBPDEV_ENABLED, PULSEOXIDEV_ENABLED" to either true or false, depending on your need | |
9. Run docker-compose up. There should be two services running: mysql, and fit-to-work-web, if everything is ok, the frontend and backend will | |
run on respectively port 1234 (FE), and port 8008 (BE) | |
10. Open localhost:1234 to test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment