Skip to content

Commit e70a524

Browse files
author
Russ Garner
committed
style changes to MD
1 parent c7f9b5b commit e70a524

1 file changed

Lines changed: 8 additions & 16 deletions

File tree

README.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11

22
## Step 1) A custom localhost domain
3-
---
43
in your /etc/hosts add an entry for embed.demo.com
5-
127.0.0.1 embed.demo.com
6-
<br/>
4+
5+
```127.0.0.1 embed.demo.com```
6+
7+
78
<br/>
89

910
## Step 2) configure green ssl
10-
---
1111
create an ssl cert pair named cert.pem and cert.key and place them under the /ssl folder
1212
I found this process worked for me on mac, with the latest browser updates.
1313
[Link to Tutorial](https://eengstrom.github.io/musings/self-signed-tls-certs-v.-chrome-on-macos-catalina)
@@ -17,38 +17,32 @@ Green SSL is required for events
1717

1818

1919
## Step 3) configure looker
20-
---
2120
ensure https://embed.demo.com:3000 is added to your looker's embed domain whitelist
22-
at <<yourlooker>>.cloud.looker.com/admin/embed
21+
at `<<yourlooker>>.cloud.looker.com/admin/embed`
2322
<br/>
2423
<br/>
2524

2625
## Step 4) fill out config.ini
27-
---
28-
I left a config.ini.example with values in it to make it as clear as possible (avoiding little issues like trailing slashes)
26+
I left a `config.ini.example` with values in it to make it as clear as possible (avoiding little issues like trailing slashes)
2927
rename it to config.ini and put in your real values
3028
<br/>
3129
<br/>
3230

33-
## Step 5) put in the correct host at
34-
---
35-
frontend/src/components/dashboard.js line 14. this app does not put in the config.ini values onto the frontend
31+
## Step 5) put in the correct host at
32+
`frontend/src/components/dashboard.js` line 14. this app does not put in the config.ini values onto the frontend
3633
<br/>
3734
<br/>
3835

3936
## Step 6) install the dependencies
40-
---
4137
(highly reccomended to use a virtual environment)
4238
```
4339
pip install -r requirements.txt
4440
cd frontend
4541
npm install
4642
```
4743
<br/>
48-
<br/>
4944

5045
## Step 7) Run it!
51-
---
5246
I didn't link them up into a single command, so you might need to open two shells
5347
```
5448
python main.py
@@ -59,11 +53,9 @@ npm start
5953
Now you should be redirected to https://embed.demo.com:3000 where you should see an embeded dashboard
6054
with an event that triggered a simple 'Successfully Loaded!' message
6155

62-
<br/>
6356
<br/>
6457

6558
## Step 8) Vary the user and URL generation methods
66-
---
6759
User:
6860
Since in your real application, the URL will need to be sensitive to the logged in user
6961
this demonstrates how the frontend's request will change what the user sees via the userToken

0 commit comments

Comments
 (0)