Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Gemma Milla authored Mar 11, 2024
1 parent 48718a4 commit c6f442a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
Find [here] (https://github.com/elixir-europe/beacon-network-backend) the Beacon Network Backend repository.

## Instructions on how to deploy the Beacon Network User Interface


Please first create a .env file inside the frontend folder so that you can modify some variables as follows:

```bash
REACT_APP_CLIENT_ID="ID of your LS Login"
REACT_APP_CLIENT_SECRET="password of your LS Login"
REACT_APP_KEYCLOAK_CLIENT_SECRET="password of your Keycloak login"
```

You will need to have created your Life Science and Keycloak environments before.

Take into account that the above file will not be copied to GitHub as it contains keys and for security reasons it should ignored.


After that please proceed to execute the next command in order to deploy the UI.

```bash
Expand All @@ -26,4 +31,7 @@ Then please edit the file config.json, which can be found inside folder [fronten
}
```

In the root folder (frontend) you will find a file called .gitignore with the list of all files that need to be ignored.
Finally, please include the URL of your User interface to the file beacon/__main__.py (line 103), so that it becomes part of the list of URLs accepted by CORS.


Note that in the root folder (frontend) you will find a file called .gitignore with the list of all files that need to be ignored.

0 comments on commit c6f442a

Please sign in to comment.