Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EasyCom
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ethan Robert
EasyCom
Commits
6cba50ad
Commit
6cba50ad
authored
4 months ago
by
Ethan Robert
Browse files
Options
Downloads
Patches
Plain Diff
Added install script for student side
parent
8abefeb8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
install_student.sh
+35
-0
35 additions, 0 deletions
install_student.sh
with
35 additions
and
0 deletions
install_student.sh
0 → 100644
+
35
−
0
View file @
6cba50ad
#!/bin/bash
echo
"Ce programme va installer EasyCom sur cet ordinateur."
echo
"Appuyez sur [ENTRÉE] pour continuer ou Ctrl+C pour annuler"
read
-p
echo
"Installing fastapi and uvicorn"
pip
install
--break-system-packages
fastapi uvicorn
git clone https://gitlab.univ-lille.fr/ethan.robert.etu/easycom.git ~/.easycom-temp
echo
"Copying files"
mkdir
~/.easycom
cp
-r
~/.easycom-temp/Student/API/
*
~/.easycom
mkdir
~/.bin
cp
- ~/.easycom-temp/Student/easycom ~/.bin
echo
"Making things executable"
chmod
+x ~/.bin/easycom
chmod
+x ~/.easycom/start.sh
echo
"Adding API to ~/.bashrc"
echo
"sh -c '~/.easycom/start.sh' & disown"
>>
~/.bashrc
echo
"export PATH='~/.bin:
$PATH
'"
>>
~/.bashrc
echo
echo
echo
"Congratulations!"
echo
"EasyCom is now installed! The API will auto start on session startup"
echo
echo
"To run the tool, just type:"
echo
"
$
easycom"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment