Skip to content

Commit

Permalink
[Feature:RainbowGrades] Make local_pull, local_push command (#75)
Browse files Browse the repository at this point in the history
<img width="861" alt="스크린샷 2024-06-14 오후 3 54 49"
src="https://github.com/Submitty/RainbowGrades/assets/123261952/efc2a4a1-2fda-45a1-aca5-b4006b88ead8">


Currently make pull & push faces some rsync error as shown on screenshot
above.
For reference, it used to run with root, we just had to set password for
submitty_daemon.


From dev env, it is basically copying the directories, so new commands
cp_pull & cp_push are introduced.
  • Loading branch information
ziesski authored Jun 17, 2024
1 parent 9c67247 commit d2a0118
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions MakefileHelper
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ push:
rsync -azP individual_summary_html/*.html ${USERNAME}@${HWSERVER}:${REPORTS_DIRECTORY}/summary_html/
rsync -azP individual_summary_html/*.json ${USERNAME}@${HWSERVER}:${REPORTS_DIRECTORY}/seating/final_exam/

local_pull:
mkdir -p raw_data/
rsync -azPq ${REPORTS_DIRECTORY}/ raw_data/

local_push:
rsync -azPq individual_summary_html/*.html ${REPORTS_DIRECTORY}/summary_html/
rsync -azPq individual_summary_html/*.json ${REPORTS_DIRECTORY}/seating/final_exam/

pull_test:
mkdir -p raw_data/
rsync -azPq ${REPORTS_DIRECTORY}/ raw_data/
Expand Down

0 comments on commit d2a0118

Please sign in to comment.