|
|
|
|
|
### Epic: Aggregate Translation(Epic 1)
|
|
|
|
|
|
### Notes
|
|
|
#### Installing Git on Mac (2021-03-20)
|
|
|
|
|
|
1. The shell command to Disable Filewall in order to install Git
|
|
|
|
|
|
```bash
|
|
|
sudo spctl --master-disable
|
|
|
```
|
|
|
2. Copy the SSH public key to Gitlab
|
|
|
|
|
|
Copy the output of this command to https://csgitlab.ucd.ie/profile/keys
|
|
|
```bash
|
|
|
ssh-keygen
|
|
|
cat ~/.ssh/id_rsa.pub
|
|
|
```
|
|
|
the output should looks like
|
|
|
```
|
|
|
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDhuIkv3I49wf1Vl2XuxJ9NMbGFq6q796+DI2IJu1Tfcn+EGc2MiWMPYRNjQ6Yeda.....
|
|
|
```
|
|
|
3. config your Git
|
|
|
```bash
|
|
|
git config --global user.name "Change this to your name"
|
|
|
git config --global user.email "Change this to your UCD email address"
|
|
|
```
|
|
|
4. clone this repo
|
|
|
You might ask to enter your Gitlab password, the password will be invisible when entering.
|
|
|
```bash
|
|
|
git clone git@csgitlab.ucd.ie:19206226/YOTO_Translator.git
|
|
|
```
|
|
|
5. Start Coding !
|
|
|
|
|
|
#### Useful Git commands (2021-03-22)
|
|
|
1. Update your local repository
|
|
|
```bash
|
|
|
git pull
|
|
|
```
|
|
|
2. Add all files to local repository
|
|
|
```bash
|
|
|
git add .
|
|
|
```
|
|
|
3. Commit your changes to local repository
|
|
|
```bash
|
|
|
git commit -m "The message you want to leave(what did you do in this commit?)"
|
|
|
```
|
|
|
4. Push local repository to remote repository(Gitlab)
|
|
|
```bash
|
|
|
git push
|
|
|
```
|
|
|
5. Switch Branches
|
|
|
```bash
|
|
|
git checkout master
|
|
|
```
|
|
|
```bash
|
|
|
git checkout $BrancheName
|
|
|
```
|
|
|
6.Check git status
|
|
|
```
|
|
|
git status
|
|
|
```
|
|
|
### Tasks
|
|
|
|
|
|
#### 🤵️ Product Owner: Wang Yuyang
|
|
|
|
|
|
#### 💻 Wang Yuyang
|
|
|
* ✅ Design a Text box for inputting the text
|
|
|
* ✅ Design a Text box for displaying the result
|
|
|
* ✅ Put a Button on the GUI for the translation functionality
|
|
|
* ✅ Connect Baidu Translate API
|
|
|
* ✅ Connect Ali Translate API
|
|
|
* ✅ Design and make global GUI interface
|
|
|
|
|
|
#### 💻 Chen Zheyu
|
|
|
|
|
|
* ✅ Connect Microsoft Translate API
|
|
|
* ✅ Connect Youdao Translate API
|
|
|
|
|
|
|
|
|
#### 💻 Li Bowen
|
|
|
* ✅ Connect Tencent Translate API
|
|
|
* ✅ Put a copy button for the copy functionality
|
|
|
* ✅ Beautify global GUI interface
|
|
|
|
|
|
#### 💻 Duan Tianhao
|
|
|
* ✅ Finish the functionality of copying
|
|
|
* ✅ Put a check box for "Auto copy to clipboard"
|
|
|
* ✅ Beautify global GUI interface
|
|
|
|
|
|
#### 💻 Chu Tianshu
|
|
|
* ✅ Put a check box for "Live Translation"
|
|
|
* ✅ Finish the functionality of live translation
|
|
|
|
|
|
|
|
|
|