Skip to content

Commit

Permalink
Replaced wget with curl
Browse files Browse the repository at this point in the history
Simplify steps for end users.
No need to install additional requirements.
  • Loading branch information
Stephen James committed Dec 13, 2023
1 parent 3959e07 commit c4d8792
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@ This repo has been developed by the DevOps Lan&Wi-Fi to automate site creation o
## Run script as end user (Assuming you don't have the repo cloned)

### Required package prerequisites
#### wget:
To install wget first install brew:
```
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
Now install wget:
```
brew install wget
```

#### Docker
[Docker docs mac install](https://docs.docker.com/desktop/install/mac-install/)
Expand All @@ -29,7 +20,7 @@ mkdir -p ~/mist_working_directory/data_src && cd ~/mist_working_directory
2. Copy this in your terminal and paste

```
wget -O .env https://raw.githubusercontent.com/ministryofjustice/juniper-mist-integration/main/example.env
curl -o .env https://raw.githubusercontent.com/ministryofjustice/juniper-mist-integration/main/example.env
```

3. Configure .env file:
Expand All @@ -48,7 +39,7 @@ If you choose to do this make sure you edit the docker run command in step 6 to
or copy the [example CSV](./example.sites_with_clients.csv) (which is formatted correctly) with the following command to the data directory:

```
wget -O data_src/sites_with_clients.csv https://raw.githubusercontent.com/ministryofjustice/juniper-mist-integration/main/example.sites_with_clients.csv
curl -o data_src/sites_with_clients.csv https://raw.githubusercontent.com/ministryofjustice/juniper-mist-integration/main/example.sites_with_clients.csv
```

5. Make sure docker can mount the `~/mist_working_directory`
Expand Down

0 comments on commit c4d8792

Please sign in to comment.