-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update readme + add TestCase refinement + add better output managmeent
- Loading branch information
Showing
16 changed files
with
645 additions
and
389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,56 +2,67 @@ | |
|
||
Note, before implementation were added as submodule. Now we only consider Docker containers installation. (To be updated) | ||
|
||
```bash | ||
git clone [email protected]:ElNiak/PANTHER.git; | ||
cd PANTHER; | ||
git submodule update --init --recursive | ||
``` | ||
|
||
## :gear: Pre-commit and Black | ||
## :wrench: Requirements | ||
|
||
``` | ||
python3.10 -m pip install pre-commit black | ||
pre-commit installed at .git/hooks/pre-commit | ||
``` | ||
Tested on: | ||
|
||
* Python 3.10 | ||
* Docker version 27.2.1, build 9e34c9b | ||
* Ubuntu 20.04.3 LTS | ||
|
||
## :computer: Local Installation (Not Recommended) | ||
```bash | ||
sudo apt install libgraphviz-dev python3.10-venv python3.10-dev | ||
``` | ||
|
||
## :hammer: Plugins | ||
|
||
```bash | ||
|
||
See Dockerfile for dependencies and commands | ||
``` | ||
|
||
## :gear: Pre-commit and Black | ||
|
||
```bash | ||
cd PANTHER; | ||
python3.10 -m venv venv | ||
venv/bin/pip install pre-commit black | ||
venv/bin/pre-commit install | ||
``` | ||
|
||
## :whale: Single implementation | ||
## :computer: Local Installation (Not Recommended) | ||
|
||
See Dockerfile for dependencies and commands. | ||
|
||
## :whale: Docker Installation | ||
|
||
The docker image will be automatically built and run when defined in the experiment configuration file. | ||
|
||
```bash | ||
# For a full installation including all dependencies and configurations: | ||
IMPLEM="picoquic" make build-docker | ||
cd PANTHER; | ||
python3.10 -m venv venv | ||
venv/bin/pip install . | ||
source venv/bin/activate | ||
cd panther; | ||
``` | ||
|
||
|
||
## :whale: WebApp (Recommended) | ||
## :whale: Pypi Installation | ||
|
||
```bash | ||
# For first installation | ||
make install | ||
|
||
# For modification: | ||
# For major update in ivy: | ||
make build-docker-compose-full | ||
# For a minor update in some implementation: | ||
make build-docker-compose | ||
|
||
``` | ||
|
||
## :warning: Clean Up | ||
|
||
|
||
|
||
```bash | ||
# To clean Docker images and system: | ||
make clean-docker-full | ||
``` | ||
|
||
|
||
|
||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.