Make it easier to copy & paste from the Readme.

This commit is contained in:
Andrew Hamilton 2021-12-21 19:01:32 +10:00
parent 3ffeae2aee
commit cc69e00889
2 changed files with 38 additions and 38 deletions

View file

@ -10,40 +10,40 @@ Eris maintains an up-to-date set of reports for every file in a codebase.
Install eris directly using pip, and apt install the tools eris relies on:
# pip install git+https://github.com/ahamilton/eris@2021.12.20#subdirectory=eris
# eris --apt-install-tools
pip install git+https://github.com/ahamilton/eris@2021.12.20#subdirectory=eris
eris --apt-install-tools
Or install from source: (including tools)
# git clone https://github.com/ahamilton/eris
# cd eris
# ./install
git clone https://github.com/ahamilton/eris
cd eris
./install
Then to run:
# eris -h
# eris-webserver <project> # Or a simple web interface.
eris -h
eris-webserver <project> # Or a simple web interface.
#### Docker
# git clone https://github.com/ahamilton/eris
# cd eris
# sudo docker build -t eris -f packaging/Dockerfile .
# cp packaging/eris-docker ~/bin/eris # e.g. Put wrapper script in your PATH
git clone https://github.com/ahamilton/eris
cd eris
sudo docker build -t eris -f packaging/Dockerfile .
cp packaging/eris-docker ~/bin/eris # e.g. Put wrapper script in your PATH
#### Snap
Download snap file from github releases page:
# wget "https://github.com/ahamilton/eris/releases/download/v2021-12-06/eris_2021.12.06_amd64.snap"
# snap install --dangerous eris_2021.12.06_amd64.snap
# rm eris_2021.12.06_amd64.snap # The snap file is no longer needed.
# Download snap file from github releases page:
wget "https://github.com/ahamilton/eris/releases/download/v2021-12-06/eris_2021.12.06_amd64.snap"
snap install --dangerous eris_2021.12.06_amd64.snap
rm eris_2021.12.06_amd64.snap # The snap file is no longer needed.
#### AppImage
Download AppImage file from github releases page:
# wget "https://github.com/ahamilton/eris/releases/download/v2021-12-06/eris_2021.12.06.AppImage"
# chmod +x eris_2021.12.06.AppImage
# mv eris_2021.12.06.AppImage ~/bin/eris # e.g. Put appimage in your PATH
# Download AppImage file from github releases page:
wget "https://github.com/ahamilton/eris/releases/download/v2021-12-06/eris_2021.12.06.AppImage"
chmod +x eris_2021.12.06.AppImage
mv eris_2021.12.06.AppImage ~/bin/eris # e.g. Put appimage in your PATH
## Tools

View file

@ -26,40 +26,40 @@ Eris maintains an up-to-date set of reports for every file in a codebase.
Install eris directly using pip, and apt install the tools eris relies on:
# pip install git+https://github.com/ahamilton/eris@2021.12.20#subdirectory=eris
# eris --apt-install-tools
pip install git+https://github.com/ahamilton/eris@2021.12.20#subdirectory=eris
eris --apt-install-tools
Or install from source: (including tools)
# git clone https://github.com/ahamilton/eris
# cd eris
# ./install
git clone https://github.com/ahamilton/eris
cd eris
./install
Then to run:
# eris -h
# eris-webserver <project> # Or a simple web interface.
eris -h
eris-webserver <project> # Or a simple web interface.
#### Docker
# git clone https://github.com/ahamilton/eris
# cd eris
# sudo docker build -t eris -f packaging/Dockerfile .
# cp packaging/eris-docker ~/bin/eris # e.g. Put wrapper script in your PATH
git clone https://github.com/ahamilton/eris
cd eris
sudo docker build -t eris -f packaging/Dockerfile .
cp packaging/eris-docker ~/bin/eris # e.g. Put wrapper script in your PATH
#### Snap
Download snap file from github releases page:
# wget "https://github.com/ahamilton/eris/releases/download/v2021-12-06/eris_2021.12.06_amd64.snap"
# snap install --dangerous eris_2021.12.06_amd64.snap
# rm eris_2021.12.06_amd64.snap # The snap file is no longer needed.
# Download snap file from github releases page:
wget "https://github.com/ahamilton/eris/releases/download/v2021-12-06/eris_2021.12.06_amd64.snap"
snap install --dangerous eris_2021.12.06_amd64.snap
rm eris_2021.12.06_amd64.snap # The snap file is no longer needed.
#### AppImage
Download AppImage file from github releases page:
# wget "https://github.com/ahamilton/eris/releases/download/v2021-12-06/eris_2021.12.06.AppImage"
# chmod +x eris_2021.12.06.AppImage
# mv eris_2021.12.06.AppImage ~/bin/eris # e.g. Put appimage in your PATH
# Download AppImage file from github releases page:
wget "https://github.com/ahamilton/eris/releases/download/v2021-12-06/eris_2021.12.06.AppImage"
chmod +x eris_2021.12.06.AppImage
mv eris_2021.12.06.AppImage ~/bin/eris # e.g. Put appimage in your PATH
## Tools