From 8c968b4f761c6ffa3dd671ad6811a9d0c804acf8 Mon Sep 17 00:00:00 2001 From: Stephen James Date: Tue, 12 Dec 2023 13:34:33 +0000 Subject: [PATCH] Fixed an error in the URL for example file Also amended step 4 to make it clearer --- README.md | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 8f20303..ca4b177 100644 --- a/README.md +++ b/README.md @@ -15,25 +15,20 @@ 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/main/scope-creep-copy-button/example.env +wget -O .env https://raw.githubusercontent.com/ministryofjustice/juniper-mist-integration/main/example.env ``` 3. Configure .env file: - You must either provide MIST_USERNAME and MIST_PASSWORD or MIST_API_TOKEN. If you opt for username - and password MFA will be requested during runtime. All other inputs are mandatory: ORG_ID, SITE_GROUP_IDS - , RF_TEMPLATE_ID + You must either provide MIST_USERNAME and MIST_PASSWORD or MIST_API_TOKEN. + If you opt for username and password MFA will be requested during runtime. + All other inputs are mandatory: + ORG_ID, + SITE_GROUP_IDS, + RF_TEMPLATE_ID -4. Create a csv file named: `sites_with_clients.csv` within '~/mist_working_directory/data_src' - Below is an [example](./example.sites_with_clients.csv) of how the CSV should be formatted. -``` -Site Name,Site Address,Enable GovWifi,Enable MoJWifi, GovWifi Radius Key, Wired NACS Radius Key -Test location 1,"40 Mayflower Dr, Plymouth PL2 3DG", TRUE, FALSE, 00000DD0000BC0EEE000, 00000DD0000BC0EEE000 -Test location 2,"102 Petty France, London SW1H 9AJ", FALSE, TRUE, 00000DD0000BC0EEE000, 00000DD0000BC0EEE000 -Test location 3,"Met Office, FitzRoy Road, Exeter, Devon, EX1 3PB", FALSE, FALSE, 00000DD0000BC0EEE000, 00000DD0000BC0EEE000 -``` - -or copy the example CSV with the following command to the data directory: +4. Create a csv file named: `sites_with_clients.csv` within '~/mist_working_directory/data_src' + 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