diff --git a/README.md b/README.md index 0aa297e..ee58e4d 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@ # About LRR -LRR (Lab Report Repository) is an online software application for posting assignments, submitting assignments and marking (re-marking) assignments. +LRR (Lab Report Repository) is an online software application for course instructors to post, receive and mark assignments, and for students to submit assignments, or submit re-marking requests. -This software was originally developed by by Mahomed Nor, a graduate student in the Department of Computer Science at the Zhejiang Normal University, +This software was originally developed by Mahomed Nor in 2018, a graduate student in the Department of Computer Science at the Zhejiang Normal University, while he was taking a graduate course called **Advanced Software Engineering** (http://lanlab.org/course/2018f/se/homepage.html). -The LRR's project home page is at http://118.25.96.118/nor/homepage/index.html. +The LRR's project home page is at http://121.4.94.30/homepage/. For potential project contributors, we recommend that you browse its home page first to familiarize yourself with the project. # Mission -Our mission is to make the experience of submitting assignments great for tens of hundreds of students in the department of computer science at the Zhejiang Normal University (Jinhua City, Zhejiang Province). +Our mission is to make the experience of submitting assignments great for tens of hundreds of students in the department of computer science at the Zhejiang Normal University. @@ -20,11 +20,11 @@ Our mission is to make the experience of submitting assignments great for tens o ## Hui's steps -I spent about two hours on installing LRR to a bare, remote Ubuntu server (Ubuntu 20.04 LTS). +I spent about two hours installing LRR to a bare, remote Ubuntu server (Ubuntu 20.04 LTS). LRR needs Apache and MySQL to run. I followed [How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 20.04](https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-20-04) to set up these server applications. -LRR uses a database called `lrr`. I need to export existing `lrr` to a plain text file (including many sql commands) and import that text file to the newly created `lrr` database on the new server. +LRR uses a database called `lrr`. I need to export the existing `lrr` to a plain text file (including many sql commands) and import that text file to the newly created `lrr` database on the new server. The command for exporting the database is `mysqldump -u mnc -p lrr > lrr_database_dump.txt`. The command for importing is `mysql -u mnc -p lrr < lrr_database_dump.txt`. Read [How to Import and Export MySQL Databases in Linux](https://phoenixnap.com/kb/import-and-export-mysql-database) for more detail. @@ -51,7 +51,7 @@ Visit the LRR application by entering this URL in a web browser: http://121.4.94 ## Enock's steps -Enock has made a tutorial about how he deployed LRR to a remote server (http://lanlab.org/course/2021s/spm/PuTTY-Server.txt). +Enock, a graduate student here, has made a tutorial about how he deployed LRR to a remote server (http://lanlab.org/course/2021s/spm/PuTTY-Server.txt). @@ -59,20 +59,20 @@ Enock has made a tutorial about how he deployed LRR to a remote server (http://l # Current Status This software has been actively used by students who took or are -taking courses (Introduction to Software Engineering and Software -Project Management) taught by Hui. +taking courses taught by Hui, e.g., Introduction to Software +Engineering, Introduction to Object-oriented analysis and design, +Advanced Software Engineering, Software Architecture, and Software +Project Management. -There are more than 200 student accounts created since its first +There are more than 500 student accounts created since its first launch in 2018. A running instance of this software is at http://118.25.96.118/nor/ There are about 40 bugs (most being CRITICAL) that remain unresolved -before LRR can hit its beta release. See the section *The Bug -Tracker* for more detail. Currently, there are a few groups (formed -by students who are taking Software Project Management) working on -these bugs. - +before LRR can hit its Beta release. See the section *The Bug +Tracker* for more detail. Currently, there are a few students who are +taking my Advanced Software Engineering course) working on these bugs. @@ -80,16 +80,15 @@ these bugs. We use Bugzilla to track LRR's bugs and feature requests. -Most bugs of this software are recorded on the bug tracker for LRR: -http://118.25.96.118/bugzilla/describecomponents.cgi?product=Lab%20Report%20Repository%20%28nor%20houzi%29 +Most bugs are [recorded on Bugzilla](http://118.25.96.118/bugzilla/buglist.cgi?bug_status=__all__&list_id=1319&order=Importance&product=Lab%20Report%20Repository%20%28nor%20houzi%29&query_format=specific). # TODO -- *Receiving email for password resetting*. Password resetting link is not always sent successfully. +- [Priority low] *Receiving email for password resetting*. Password resetting link is not always sent successfully. -- *How assignements should be stored?* Creating sub-directories on all student submissions course-code/semester/section-number. (/student-number/course-code/semester/section-number/assignement-title/submission.txt) +- [Priority medium] *Discuss how assignments should be stored?* `/student-number/course-code/semester/section-number/assignement-title/submission.txt` - [SOLVED] Editing the assignment title after uploading a new assignment (instructor). @@ -105,24 +104,15 @@ We welcome your participation in this project. Your participation does not have to be in the form of contributing code. You could help us on ideas, suggestions, documentation, etc. +You can fork this project and start working on your fork. After you are done, please create a pull request so that we could review your changes and give you feedback. -You need to be an invited member of *Lan Laboratory* before you can -push your feature branch or bugfix branch to the central reops at -https://github.com/lanlab-org - -Send Hui (lanhui at zjnu.edu.cn) an email message including your -GitHub account name so that he could invite you to be a member of *Lan -Laboratory*. - -As of March 31 2020, there are 30 members in *Lan Laboratory* (https://github.com/orgs/lanlab-org/people). - -You will use the feature-branching workflow (see below) when -interacting with the central repo. The main point of this workflow is -that you work on a branch on your local drive, push that branch to the -central repo, and create a Pull Request (i.e., Pull Me Request) at -GitHub for other people to review your changes. When everything is +You will use the feature-branching workflow (see below). +The main point of this workflow is +that you work on a branch on your local drive, push that branch to a remote +repository, and create a Pull Request (i.e., Pull Me Request) at +for other people to review your changes. If everything is OK, then *someone* could merge your changes to the master branch in the -central repo. +central repository. I believe that *code review* at the Pull Request stage is important for both improving code quality and improving team quality. @@ -133,39 +123,46 @@ for both improving code quality and improving team quality. We will use the feature-branching workflow for collaboration. The idea is that you make your own branch, work on it, and push this branch to -the central repo for review. +the remote, online repository for code review. Check the section **The feature-branching workflow** in the following link for more detail: https://github.com/spm2020spring/TeamCollaborationTutorial/blob/master/team.rst +## Testing + +Make sure your changes can pass all the tests in folder [./test](http://121.4.94.30:3000/mrlan/LRR/src/branch/master/test). + ## Communications Method -For real-time communication, check our IRC channel `#lrr` at irc.freenode.org. Check this link http://lanlab.org/course/2020s/spm/irc-instruction.txt -for how to use IRC. - -To submit bug reports or improvement ideas, please ask Hui [lanhui at zjnu.edu.cn] to open a Bugzilla account for you. - +To submit bug reports or improvement ideas, please contact Hui [lanhui at zjnu.edu.cn]. He could open a Bugzilla account for you. +We can also communicate through pull requests. You make a pull request, I review it and comment on it, and you revise your pull request until everyone is happy so that your changes get merged to the master branch. ## Frequently Asked Questions -1. Q: The web application's front page does not show properly, i.e., elements are not well aligned. +1. Q: The web application's front page does not show properly, i.e., elements are not well aligned. A: You missed two folders `css` and `font-awesome`. These folders include third-party js or css files and therefore are not included. 1. Q: What if I do not have any information about the `lrr` database? - A: You could use `lrr(1).sql` or `lrr_database.sql`. It seems `lrr(1).sql` is more complete. + A: You could use `lrr_database.sql` to make a new database. -# The Original GitHub Repo +# Related GitHub Repositories -The original GitHub Repo is at https://github.com/EngMohamedNor/LabReportRepo +- The original repository: https://github.com/EngMohamedNor/LabReportRepo + +- The Lan Laboratory repository: https://github.com/lanlab-org/LRR + +- Zhan Shenchen repository: https://github.com/SawiMg/Seleium + +- Ibrahim repository: https://github.com/hema-001/LRR # Contributor List @@ -218,7 +215,7 @@ Twizere - Twizere Pacifique - 201925800174 Nicole-Rutagengwa - Nicole Rutagengwa - 201925800169 -*hema001* - Ibrahim Mohamed Ibrahim Ismail - omitted +*hema-001* - Ibrahim Mohamed Ibrahim Ismail - omitted *SawiMg* - Zhan Shenchen - omitted @@ -227,4 +224,4 @@ Nicole-Rutagengwa - Nicole Rutagengwa - 201925800169 - 詹沈晨. (2020). [网页程序测试自动化 (Selenium) 测试效率](http://lanlab.org/ZhanShenchen-On-Automated-Web-Application-Test-Efficiency-with-Selenium.doc) -- Ibrahim. (2021). [Defect analysis for LRR](http://lanlab.org/thesis/Defect-Analysis-for-LRR.docx) \ No newline at end of file +- Ibrahim. (2021). [Defect analysis for LRR](http://lanlab.org/thesis/Defect-Analysis-for-LRR.docx)