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
> A Python-powered slideshow creator with steroids.
14
14
@@ -44,6 +44,9 @@ And point your browser at [localhost:6789](http://localhost:6789).
44
44
45
45
## Quick Start and Tutorials
46
46
47
+
If you want to quickly grok `auditorium`, the best option is to [look at the demo online](https://auditorium-demo.apiad.net) and then
48
+
[read the source code](https://github.com/apiad/auditorium/blob/master/auditorium/demo.py). This way you will both see the end result and what effort it takes to get there.
49
+
47
50
*[Authoring a slideshow with Python](https://apiad.net/auditorium/quickstart/#python-first)
48
51
*[Authoring a slideshow with Markdown](https://apiad.net/auditorium/quickstart/#markdown-first)
49
52
*[Rendering a slideshow as purely static HTML](https://apiad.net/auditorium/quickstart/#going-full-static)
Copy file name to clipboardExpand all lines: demo/Readme.md
+1-51
Original file line number
Diff line number
Diff line change
@@ -18,54 +18,4 @@ See the demo at [auditorium-demo.apiad.net](https://auditorium-demo.apiad.net).
18
18
19
19
This 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. If you don't know what [now.sh](https://now.sh) is, go and [read about it](https://zeit.co/docs) first.
20
20
21
-
In short, these are the basic steps:
22
-
23
-
1. Make sure your `slideshow.py` (or whatever the name) slideshow file has the following line:
24
-
25
-
```python
26
-
from auditorium import Show
27
-
28
-
show = Show("My Awesome Show")
29
-
app = show.app # <--- This line
30
-
```
31
-
32
-
This will allow `now.sh` serverless functions to find your slideshow's underlying `sanic` application, and automagically make the backend logic work.
33
-
34
-
2. Make a folder for uploading to `now.sh`, let's call it `my-show` and an `api` folder inside.
0 commit comments