You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then head over to `http://auditorium.apiad.net/your-slideshow-name/` and enjoy!
37
+
38
+
> **NOTE:** This service is provided as-is with no guarantees whatsoever. The service runs
39
+
> on a development server that is restarted often (at least twice a day), so slideshows are **not** guaranteed to stay
40
+
> up for a long time. Don't use this service in mission critical presentations.
41
+
42
+
If you need finer control then you can host the server yourself on your own infrastructure
43
+
and thus ensure that it's online when you need it. Just run:
44
+
45
+
```bash
46
+
auditorium server [--host HOST] [--port PORT]
47
+
```
48
+
49
+
Make sure the server is publicly accessible. You'll probably use some kind of web server,
50
+
or `--host 0.0.0.0` and `--port 80` which you can totally do since `auditorium` ships
51
+
with `uvicorn` which is a fully fledged production web server.
52
+
Then publish to your own address with:
53
+
54
+
```bash
55
+
auditorium publish [file] --name [name] --server [ws://your-server:port] # or wss://
56
+
```
57
+
19
58
## Hosting temporarily through `ngrok`
20
59
21
-
The second best option is to use [`ngrok`](https://ngrok.com/).
60
+
Another option is to use [`ngrok`](https://ngrok.com/).
22
61
It creates a tunnel between your computer and ngrok's servers, and gives you a public, secure (HTTPS)
23
62
and free URL that back-tunnels to your `localhost:port`.
24
63
@@ -29,11 +68,11 @@ usual `auditorium run [file]` and in another terminal run:
29
68
ngrok http 6789
30
69
```
31
70
32
-
It will answer with a temporal, autogenerated URL that you can give the audience.
71
+
It will answer with a temporal, auto-generated URL that you can give the audience.
33
72
The upside is that everything is being run on your computer but published through a public
34
73
URL, which means anyone on the world can see it.
35
74
The downside is that it only works for as long as you have `ngrok` running.
36
-
Plus, everytime you run it, it generates a different public URL.
75
+
Plus, every time you run it, it generates a different public URL.
37
76
The do have paid plans for securing a custom domain.
38
77
39
78
## Hosting static files at Github Pages
@@ -54,7 +93,7 @@ The downside is no animations or interactive logic.
54
93
Another option is to host the static presentation and backend at [now.sh](https://now.sh).
55
94
If you don't know what [now.sh](https://now.sh) is, go and [read about it](https://zeit.co/docs) first.
56
95
57
-
This is actually how we host thed demo at [auditorium-demo.apiad.net](https://auditorium-demo.apiad.net).
96
+
This is actually how we host the demo at [auditorium-demo.apiad.net](https://auditorium-demo.apiad.net).
58
97
The [demo](https://github.com/apiad/auditorium/tree/master/demo) folder folder shows the layout you need to comply with for hosting a slideshow at [now.sh](https://now.sh), such that the backend logic works as well.
59
98
60
99
Make sure your `slideshow.py` (or whatever the name) slideshow file has the following line:
0 commit comments