This project aims to:
- Simulate the
examshell
environment from the 42 school, allowing 42 students (or anyone else who's interested) to practice the exams in the 42 curriculum and Piscines. - Allow users to add their own questions, and create their own exams.
This project is currently in an Alpha Release. The program runs, but testing to date is minimal.
To build examtrainer
from sources, Rust must be installed. The
instructions to install Rust can be found
here.
- Clone the project
git clone https://github.com/rlucas585/examtrainer
. - [Create configuration (IN DEVELOPMENT)]
- Run
cargo build --release
to build the executable from sources. - The executable will be located at
target/release/examtrainer
. It can be moved from here to wherever you'd like.
examtrainer
requires a configuration file to run, which must be in the
TOML file format.
examtrainer
will by default use a config file located at
/home/<your_username>/.config/examtrainer/config.toml
. If this path
does not exist, then the first time that examtrainer
is run it will
ask to create the relevant directories, and will create a default
config.toml
file.
Alternatively, you can supply a path to a configuration file as a command line argument:
./examtrainer <path_to_config_file>
Config files, Question files and Exam files are all .toml
files, and
the files must contain certain information to be valid. The required
layout of these files is described here, alongside examples
of valid files.
[IN DEVELOPMENT]
[IN DEVELOPMENT]
- Ryan Lucas (email: ryanl585codam@gmail.com, slack: rlucas)