Skip to content

Commit

Permalink
chore(docs): replace custom path reference than need to be updated by…
Browse files Browse the repository at this point in the history
… the user with $HOME (#15)
  • Loading branch information
dbelyaev authored Apr 3, 2024
1 parent 90abb39 commit f34dfe6
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion ex-02/doc/secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Steps:
```shell
cd ex-02
source ~/path-to-env-file/appsec-course-client-eq.env
source $HOME/envs/appsec-course-client-eq.env
npm start
```
* Once the needed config is saved into the .env file we can delete the Codespace user secret for Client Secret.
Expand Down
2 changes: 1 addition & 1 deletion ex-04/doc/running_the_application.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Steps:
* Source the configuration file

```shell
source ~/path-to-env-file/appsec-course-client-eq.env
source $HOME/envs/appsec-course-client-eq.env
```

* Run the application
Expand Down
2 changes: 1 addition & 1 deletion ex-05/doc/running_the_application.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Steps:
* Source the configuration file</br>(`aa-create-env-files-from-github-user-secret.sh` may be helpful if you have lost the config)

```shell
source ~/path-to-env-file/appsec-course-client-eq.env
source $HOME/envs/appsec-course-client-eq.env
```

* Run the application
Expand Down
2 changes: 1 addition & 1 deletion ex-09/doc/running_the_application.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Steps:
* Source the configuration file

```shell
source ~/path-to-env-file/appsec-course-client-eq.env
source $HOME/envs/appsec-course-client-eq.env
```

* Run the application
Expand Down
2 changes: 1 addition & 1 deletion ex-10/doc/configure_client_anda_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The readme.md file for both component include the basic information on which con

### Environment config

For the client you have already crated a **.env** file that contains the basic configuration (~/path-to-env-file/appsec-course-client-eq.env). We need to add an additional variable for the MSAL token cache. This file now should hold the following environment parameters:
For the client you have already crated a **.env** file that contains the basic configuration ($HOME/envs/appsec-course-client-eq.env). We need to add an additional variable for the MSAL token cache. This file now should hold the following environment parameters:

```shell
export NODE_ENV=development
Expand Down
4 changes: 2 additions & 2 deletions ex-10/doc/execute_client_and_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Steps:
* Source the configuration file

```shell
source ~/path-to-env-file/appsec-course-api-episodes-eq.env
source $HOME/envs/appsec-course-api-episodes-eq.env
```

* Run the application
Expand Down Expand Up @@ -41,7 +41,7 @@ Steps:
* Source the configuration file

```shell
source ~/path-to-env-file/appsec-course-client-eq.env
source $HOME/envs/appsec-course-client-eq.env
```

* Run the application
Expand Down
2 changes: 1 addition & 1 deletion ex-10/doc/swapping_tech_for_episodes_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Steps:
- Source your configuration file

```shell
source ~/path-to-env-file/appsec-course-api-episodes-eq.env
source $HOME/envs/appsec-course-api-episodes-eq.env
```
- Start the Python Api

Expand Down
2 changes: 1 addition & 1 deletion ex-11/doc/client_code_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Steps:
* Source the configuration file

```shell
source ~/path-to-env-file/appsec-course-client-eq.env
source $HOME/envs/appsec-course-client-eq.env
```

* Run the application
Expand Down
2 changes: 1 addition & 1 deletion ex-11/doc/quotes_code_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Steps:
* Source the configuration file

```shell
source ~/path-to-env-file/appsec-course-api-quotes-eq.env
source $HOME/envs/appsec-course-api-quotes-eq.env
```

* Run the application
Expand Down
2 changes: 1 addition & 1 deletion ex-11/doc/swapping_tech_for_episodes_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Steps:
- Source your configuration file

```shell
source ~/path-to-env-file/appsec-course-api-episodes-eq.env
source $HOME/envs/appsec-course-api-episodes-eq.env
```
- Start the Python Api

Expand Down
2 changes: 1 addition & 1 deletion ex-11/doc/swapping_tech_for_quotes_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Steps:
- Source your configuration file

```shell
source ~/path-to-env-file/appsec-course-api-quotes-eq.env
source $HOME/envs/appsec-course-api-quotes-eq.env
```
- Start the .Net Api

Expand Down

0 comments on commit f34dfe6

Please sign in to comment.