Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Gemma Milla authored Dec 22, 2023
1 parent f0f834c commit 77e7600
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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:

REACT_APP_CLIENT_ID="ID of your LS Login"
REACT_APP_CLIENT_SECRET="password of your LS Login"


After that please proceed to execute the command docker-compose up -d –build in order to deploy the UI.

Then please edit the file config.json, which can be found inside folder frontend/src. You need to decide where you want the UI to point to when making requests. Find below an example:

{
"API_URL": "https://yourAPIdomain.com/beacon-network/v2.0.0",
"REDIRECT_URL": "https://yourUIdomain.com",
"KEYCLOAK_URL": "https://yourKEYCLOAKdomain.com"
}


Please take into account that the above file will not be copied to Github as it contains keys and for security reasons it should ignored.
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 77e7600

Please sign in to comment.