Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

from within a docker get already generated content from mathhub.info (to avoid re-building) #9

Open
cmaeder opened this issue May 5, 2015 · 5 comments
Assignees

Comments

@cmaeder
Copy link

cmaeder commented May 5, 2015

No description provided.

@cmaeder cmaeder self-assigned this May 5, 2015
@cmaeder
Copy link
Author

cmaeder commented May 6, 2015

I've installed an rsync daemon as described in https://help.ubuntu.com/community/rsync on pine.
if one knows the password (stored in /etc/rsyncd.secrets) anyone can rsync the contents below /var/data/localmh/MathHub/ that is world-readable (ie. readable by user nobody). (The range of hosts that are allowed to connect could be restricted.)

An example call is:

rsync -avz --password-file=pine-rsync-password.txt rsync://anon@mathhub.info/mathhub/smglom .

However, this also gets the .git files, so a tuned script is still needed. (pine-rsync-password.txt on your site should just contain the password from /etc/rsyncd.secrets on pine as one line.)

@cmaeder cmaeder changed the title make rsync script from within a docker get already generated content from mathhub.info (to avoid re-building) Mar 31, 2016
@cmaeder
Copy link
Author

cmaeder commented Mar 31, 2016

I'm not sure if this is still desirable, but I cannot pursue this further. (However, the above rsync example still works.)

@kohlhase
Copy link

kohlhase commented Apr 1, 2016

I think this should be talked about with @m-iancu and @tkw1536 and we should make a plan.

@kohlhase
Copy link

kohlhase commented Apr 1, 2016

We should decide whether we got the git way or the rsync way.

@m-iancu
Copy link
Contributor

m-iancu commented Apr 1, 2016

thats a good thing to have but at the moment there are still issues with the build on pine occasionally, so having it build manually on docker is good enough for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants