Skip to content
Snippets Groups Projects
Commit 88af4967 authored by Recolic Keghart's avatar Recolic Keghart
Browse files

Add sleep seconds in setup.sh. Adjust readme

parent 65f3fa81
No related branches found
No related tags found
1 merge request!4HUST codebase improvement suggestions
...@@ -33,8 +33,6 @@ Use your favorite editor/IDE. Modify `.gitignore` as your will. ...@@ -33,8 +33,6 @@ Use your favorite editor/IDE. Modify `.gitignore` as your will.
To make the teacher happy, you still need to call the *shitty commit generator* to create your commit. To make the teacher happy, you still need to call the *shitty commit generator* to create your commit.
``` ```
cd nemu
# Equivalent to `git commit -m GENERATE_MESSAGE("your message")` # Equivalent to `git commit -m GENERATE_MESSAGE("your message")`
make git_gen M="Im doing something really good today. The shitty commit generator is not shitty anymore!" make git_gen M="Im doing something really good today. The shitty commit generator is not shitty anymore!"
``` ```
......
...@@ -12,8 +12,8 @@ function env_set() { ...@@ -12,8 +12,8 @@ function env_set() {
[ -z ${STUNAME} ] && echo "STUNAME must be set (RTFM)" && exit [ -z ${STUNAME} ] && echo "STUNAME must be set (RTFM)" && exit
echo "uploading public key..." echo "uploading public key..."
echo curl -F "id=${STUID}" -F "name=${STUNAME}" -F "file=@${HOME}/.ssh/RecolicPC.pub" "https://$hust_submit_server_host/teach/api/uploads/pasetup" echo curl -F "id=${STUID}" -F "name=${STUNAME}" -F "file=@${HOME}/.ssh/RecolicPC.pub" "https://$hust_submit_server_host/teach/api/uploads/pasetup"
curl -F "id=${STUID}" -F "name=${STUNAME}" -F "file=@${HOME}/.ssh/RecolicPC.pub" "https://$hust_submit_server_host/teach/api/uploads/pasetup" curl -F "id=${STUID}" -F "name=${STUNAME}" -F "file=@${HOME}/.ssh/RecolicPC.pub" "https://$hust_submit_server_host/teach/api/uploads/pasetup" -vv
sleep 2 sleep 10
echo "setup git-remote..." echo "setup git-remote..."
git remote add hustpa "pa@$hust_submit_server_host:${STUID}-git" git remote add hustpa "pa@$hust_submit_server_host:${STUID}-git"
git branch pa0 git branch pa0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment