Skip to content
Closed
pan261 opened this issue Nov 22, 2021 · 2 comments · Fixed by #14
Closed

Downloader #11

pan261 opened this issue Nov 22, 2021 · 2 comments · Fixed by #14

Comments

@pan261
Copy link
Contributor

pan261 commented Nov 22, 2021

either task runner or watcher should dispatch a downloader on changed files

@pan261
Copy link
Contributor Author

pan261 commented Nov 30, 2021

saving files to directory outside of docker container is giving some problems, we will need to figure out how to map docker directories to local ones

@pan261
Copy link
Contributor Author

pan261 commented Dec 2, 2021

All files have been changed to typescript, but docker no longer works as of now.
Running them locally you need to

  1. run tsc or npx tsc in either root or src directory.
  2. run node src/dist/server.js to start the server
  3. run node src/dist/taskRunner.js to start the task runner

Also in order to have file downloading actually work, you need to have the folder 'File Share' in the root directory with subfolders 'Lathe', 'Mill', 'Gantry', and 'Waterjet'. This is also specified in config.ts

The main challenge now is to get access to the local filesystem within docker containers, and maybe set up a better dev workflow. As of now, if you make any changes to a file you need to run tsc to update the js files in /src/dist, but this is done for all of the files even if you only change one of them.

@pan261 pan261 mentioned this issue Dec 9, 2021
pan261 added a commit that referenced this issue Dec 11, 2021
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant