mirror of
https://github.com/Rushilwiz/SkoolOS.git
synced 2025-04-20 12:20:18 -04:00
changes
This commit is contained in:
parent
2a99716650
commit
62709f2d3c
|
@ -740,9 +740,11 @@ class Teacher:
|
||||||
print("heheheh")
|
print("heheheh")
|
||||||
|
|
||||||
|
|
||||||
# data = getTeacher("eharris1","PWD")
|
data = getTeacher("eharris1",'hackgroup1')
|
||||||
# print(data)
|
# print(data)
|
||||||
#t = Teacher(data, "PWD")
|
t = Teacher(data, 'hackgroup1')
|
||||||
|
t.addAssignment("eharris1/Truck_eharris1/Assignment1", "Truck_eharris1", '2020-08-11 16:58:33.383124')
|
||||||
|
|
||||||
# t.makeClass("APLit_eharris1")
|
# t.makeClass("APLit_eharris1")
|
||||||
# t.updateAssignment("eharris1/APLit_eharris1/BookReport", "APLit_eharris1", '2020-08-11 16:58:33.383124')
|
# t.updateAssignment("eharris1/APLit_eharris1/BookReport", "APLit_eharris1", '2020-08-11 16:58:33.383124')
|
||||||
# ar = ['2022rkhondak','2022inafi','2023rumareti']
|
# ar = ['2022rkhondak','2022inafi','2023rumareti']
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
Command Line Interface
|
Command Line Interface
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||
1. Making a user:
|
Making a user:
|
||||||
-------
|
-------
|
||||||
|
::
|
||||||
python skoolos.py
|
python skoolos.py
|
||||||
|
|
||||||
You will be redirected to a login page for the SkoolOS website. If you have already created an account on the website, enter login informatiton. If not, select
|
You will be redirected to a login page for the SkoolOS website. If you have already created an account on the website, enter login informatiton. If not, select
|
||||||
the registration button bellow and create an account. Once you create an account via Ion OAuth and SkoolOS, login. The window should close, prompting:
|
the registration button bellow and create an account. Once you create an account via Ion OAuth and SkoolOS, login. The window should close, prompting:
|
||||||
|
@ -19,12 +19,12 @@ Enter the valid SkoolOS username and password. Congratialations, you have succes
|
||||||
|
|
||||||
Start the CLI and select your username. For instance, teacher 'eharris1'
|
Start the CLI and select your username. For instance, teacher 'eharris1'
|
||||||
|
|
||||||
python skoolos.py
|
.. code-block:: python
|
||||||
|
python skoolos.py
|
||||||
? Select User: (Use arrow keys)
|
? Select User: (Use arrow keys)
|
||||||
1) 2022rkhondak
|
1) 2022rkhondak
|
||||||
❯ 2) eharris1
|
❯ 2) eharris1
|
||||||
3) Make new user
|
3) Make new user
|
||||||
|
|
||||||
You will then be given the choice to select an existing class, Make a new class, or exit the CLI:
|
You will then be given the choice to select an existing class, Make a new class, or exit the CLI:
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ You will then be given the choice to select an existing class, Make a new class,
|
||||||
Make New Class
|
Make New Class
|
||||||
Exit SkoolOS
|
Exit SkoolOS
|
||||||
|
|
||||||
1. Making a new class:
|
Making a new class:
|
||||||
-------
|
-------
|
||||||
|
|
||||||
Select 'Make a New Class'. You will then be prompted to enter a class name. The format for every class must be <subject>_<teacher_username> (Example: Art12_eharris1).
|
Select 'Make a New Class'. You will then be prompted to enter a class name. The format for every class must be <subject>_<teacher_username> (Example: Art12_eharris1).
|
||||||
|
@ -59,6 +59,88 @@ one username per line.
|
||||||
File must be .txt and have 1 student username per line
|
File must be .txt and have 1 student username per line
|
||||||
Relative Path: students.txt
|
Relative Path: students.txt
|
||||||
|
|
||||||
|
OR
|
||||||
|
|
||||||
|
? Add Students): 1) Add individual student
|
||||||
|
Student name: 2022rkhondak
|
||||||
|
|
||||||
|
Accessing an existing class
|
||||||
|
=====================
|
||||||
|
|
||||||
|
Once you have created a class, you can then view and modify certain fields. (Open opening a class, any students who have accepted the request will be automatically
|
||||||
|
added you the class.)
|
||||||
|
|
||||||
|
? Select class: (Use arrow keys)
|
||||||
|
Art12_eharris1
|
||||||
|
Civ_eharris1
|
||||||
|
❯ English12_eharris1
|
||||||
|
History12_eharris1
|
||||||
|
Random_eharris1
|
||||||
|
Truck_eharris1
|
||||||
|
Make New Class
|
||||||
|
Exit SkoolOS
|
||||||
|
|
||||||
|
Class: English12_eharris1
|
||||||
|
? Select option: (Use arrow keys)
|
||||||
|
❯ 1) Request Student
|
||||||
|
2) Add assignment
|
||||||
|
3) View student information
|
||||||
|
4) Exit
|
||||||
|
|
||||||
|
Requesting Students
|
||||||
|
-------
|
||||||
|
|
||||||
|
Select 'Request Student'. You will then be prompted to add students. If you have a list of students, enter the relative path of a text file with the student usernames.
|
||||||
|
The file must be a .txt file and have one student username per line. If you add an individual student, simply enter their ion username.
|
||||||
|
one username per line.
|
||||||
|
|
||||||
|
Class: English12_eharris1
|
||||||
|
? Select option: (Use arrow keys)
|
||||||
|
❯ 1) Request Student
|
||||||
|
2) Add assignment
|
||||||
|
3) View student information
|
||||||
|
4) Exit
|
||||||
|
|
||||||
|
? Add list of students (input path): (Use arrow keys)
|
||||||
|
❯ 1) Add individual student
|
||||||
|
2) Add list of students through path
|
||||||
|
3) Exit
|
||||||
|
|
||||||
|
? Select option: 1) Request Student
|
||||||
|
? Add list of students (input path): 1) Add individual student
|
||||||
|
? Student Name: 2022rkhondak
|
||||||
|
|
||||||
|
OR
|
||||||
|
|
||||||
|
? Add Students): 2) Add list of students through path
|
||||||
|
File must be .txt and have 1 student username per line
|
||||||
|
Relative Path: students.txt
|
||||||
|
|
||||||
|
Adding Assignments
|
||||||
|
-------
|
||||||
|
|
||||||
|
To add an assignment, you must first make a subdirectory for that assignment in the given class. You must then add a file wihin that subdirectory. For Example:
|
||||||
|
For teacher eharris1 and class English11_eharris1, valid assignment folder would look like:
|
||||||
|
|
||||||
|
eharris1/English11_eharris1/Assignment1/instructions.txt
|
||||||
|
|
||||||
|
Then, select an assignment from the given options. Then enter a due date in the correct format: YYYY-MM-DD HH:MM. The assignment will then be coppied to every student
|
||||||
|
who has confirmed the class.
|
||||||
|
|
||||||
|
Class: Truck_eharris1
|
||||||
|
GET:200
|
||||||
|
? Select option: (Use arrow keys)
|
||||||
|
1) Request Student
|
||||||
|
❯ 2) Add assignment
|
||||||
|
3) View student information
|
||||||
|
4) Exit
|
||||||
|
|
||||||
|
? Select new assignment: (Use arrow keys)
|
||||||
|
❯ Assignment1
|
||||||
|
|
||||||
|
? Select new assignment: Assignment1
|
||||||
|
Enter due date (Example: 2020-08-11 16:58): 2020-08-11 16:58
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
0
eharris1/Truck_eharris1/README.md
Normal file
0
eharris1/Truck_eharris1/README.md
Normal file
Loading…
Reference in New Issue
Block a user