EJP-S is a specialized component of the Edged Judger Platform (EJP) designed to empower students in the realm of coding education. Seamlessly integrated with the EJP ecosystem, EJP-S enables students to get assignments, submit their answers, ans even manage their groups.
-
Get Repositories: Get your information of remote repositories.
-
Test Code: Test your code with your executable file.
-
Submit Answer: Submit answer.
-
Ensure the the main EJP system set up and running
-
Requires Linux OS (Windows & Mac support coming soon)
-
Clone the EJP-S repository.
git clone https://github.com/EdgeCrafters/ejp-s.git
-
Navaigate to the cloned directory and run the installation script.
cd ejp-s && chmod 755 scripts/setup.sh && chmod 755 scripts/install.sh ./scripts/setup.sh && ./scripts/install.sh source ~/.bashrc # source ~/.zshrc (if you use zsh, or whatever, customize this command)
-
Follow the on-screen prompts to complete the installation.
-
Launch EJP-S from the command line:
ejp-s [category] [command] [options]
Parameters- [category]: The category to which the command belongs (e.g., repo, problem).
- [command]: The specific action you want to perform (e.g., show, get, submit, test, testcase).
- [options]: Additional parameters or flags that modify the command. (e.g., -h(host), -l(location)). See below for more information about parameters.
-
Use the menu options to get information of remote repositories, submit your answers, or sync with EJP-T, and EJP-BE.
-
For a list of specified available commands and options, use:
ejp-s [category]
We welcome contributions from the community! Feel free to fork the repository, make your changes, and submit a pull request. For more details, check out our contribution guidelines.
EJP-S is part of the EJP project and follows the same MIT license.
You can controll information of your repositories.
ejp-s repo [command] [options]
-
show
: see information of your repositories.-h
: url of server
ejp-s repo show -h [host address]
ejp-s repo show -h localhost:8000
-
get
: get information of your repositories.-h
: url of server
ejp-s repo get -h [host address]
ejp-s repo get -h localhost:8000
-
clean
: clean information of your repositories that saved local directory.ejp-s repo clean
You can submit and test your answer.
You can show testcases that opened or hidden.
ejp-s problem [command] [options]
-
show
: see information of problems.ejp-s problem show
-
submit
: submit your answer.-h
: url of server.-l
: path to answer file. (compiled file)
ejp-s problem submit -h [host address] -l [path to answer file]
ejp-s problem submit -h localhost:8000 -l /myAnswers/answer1
-
test
: test your answer with testcase that published by your instructor.-l
: path to answer file. (compiled file)
ejp-s problem test -l [path to answer file]
ejp-s problem test /myAnswers/answer1
-
testcase
: see information for testcases.ejp-s problem testcase