sagemathinc / cocalc-docker

DEPRECATED (was -- Docker setup for running CoCalc as downloadable software on your own computer)
https://cocalc.com
Other
398 stars 103 forks source link

restarting a project with a custom command #142

Closed onayg closed 1 year ago

onayg commented 2 years ago

I installed syncthing into the docker, configured so that it syncs a project with my computer. When I restart a project I restart accordingly syncthing from the terminal file.

I would be nice to automatize this, e.g. running syncthing --no-browser at every restart.

What is the best way?

williamstein commented 2 years ago

In theory this is the best way -- https://doc.cocalc.com/project-init.html

I'm not 100% certain this is supported in cocalc-docker though. Give it a try.

williamstein commented 1 year ago

https://doc.cocalc.com/project-init.html is definitely fully supported in cocalc-docker, and does solve this problem.