Skip to content
Snippets Groups Projects
Commit 7ddc0d12 authored by Ethan Robert's avatar Ethan Robert
Browse files

Added install script for teacher side

parent 3e12bf69
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
echo "Ce programme va installer EasyCom sur cet ordinateur."
echo "Appuyez sur [ENTRÉE] pour continuer ou Ctrl+C pour annuler"
read
echo "Installing python requests"
pip install --break-system-packages requests
git clone https://gitlab.univ-lille.fr/ethan.robert.etu/easycom.git ~/.easycom-temp
echo "Copying files"
mkdir ~/.bin
cp -r ~/.easycom-temp/Teacher/easycom ~/.bin
echo "Making files executable"
chmod +x ~/.bin/easycom
echo "Adding easycom to the PATH environment variable"
echo "export PATH='~/.bin:$PATH'" >> ~/.bashrc
echo "Removing garbage"
rm -rf ~/.easycom-temp
echo "Congratulations!"
echo "EasyCom is now installed!"
echo
echo "To run the tool, just type:"
echo "$ easycom"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment