1
0
mirror of https://github.com/RyanGreenup/cadmus.git synced 2025-08-10 08:03:59 +02:00
This commit is contained in:
Ryan Greenup
2020-07-20 13:32:13 +10:00
2 changed files with 13 additions and 3 deletions

View File

@@ -35,11 +35,21 @@ share those scripts with classmates.
## Installation ## Installation
To install: Cadmus will work from within a self-contained directory, in this way it's zero lock-in and does not modify your system other than a single simlink into "~/.local/bin".
Installation will automatically create a config file in its directory, to install automatically just run the following command and follow the prompts:
``` bash
cd $(mktemp -d)
wget https://raw.githubusercontent.com/RyanGreenup/cadmus/master/install.sh
bash install.sh
```
To install manually:
1. satisfy [the dependencies](#Dependencies) 1. satisfy [the dependencies](#Dependencies)
2. [Set up Recoll](#Configuring-recoll) 2. [Set up Recoll](#Configuring-recoll)
3. Download cadmus and put it in the `PATH` 3. Download cadmus and put it into the `PATH`
```bash ```bash
git clone https://github.com/RyanGreenup/cadmus ~/.cadmus \ git clone https://github.com/RyanGreenup/cadmus ~/.cadmus \
|| echo "Delete $HOME/.cadmus first" || echo "Delete $HOME/.cadmus first"

View File

@@ -8,7 +8,7 @@ main () {
HelpStatement $1 HelpStatement $1
UninstallQ $1 UninstallQ $1
printThis printThis
download_the_repo # download_the_repo
Install_bin Install_bin
check_path check_path
check_for_dependencies check_for_dependencies