1
1
2
-
3
- Running the app on your computer
4
- ================================
2
+ Running the app locally
3
+ =======================
5
4
6
5
Sometimes you need to present your talk without an internet connection.
7
- In this situation you can run a local web server.
6
+ In this situation you can run a local web server::
7
+
8
+ $ virtualenv venv
9
+ $ source venv/bin/activate
10
+ (venv)$ pip install git+https://github.com/bast/cicero.git@master#egg=cicero
11
+ (venv)$ cicero
12
+
13
+ * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
14
+
15
+ How to preview and serve your talk locally
16
+ ==========================================
17
+
18
+ Using a local server it is also no problem to serve your talk locally to see the
19
+ result before you push them to the repository::
20
+
21
+ $ cicero --file /home/user/my-talk/talk.md
8
22
23
+ Development
24
+ ===========
9
25
First install the dependencies (you need a network connection for this step)::
10
26
11
27
$ virtualenv venv
12
28
$ source venv/bin/activate
13
29
$ pip install -r requirements.txt
30
+ $ git checkout https://github.com/bast/cicero
31
+ $ cd cicero
14
32
15
33
Then start the server::
16
34
@@ -19,10 +37,3 @@ Then start the server::
19
37
* Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
20
38
21
39
22
- How to preview and serve your talk locally
23
- ==========================================
24
-
25
- Using a local server it is also no problem to serve your talk locally to see the
26
- result before you push them to the repository::
27
-
28
- $ python cicero.py --file /home/user/my-talk/talk.md
0 commit comments