Browse code
Update README.markdown
fiddlerwoaroof authored on 24/01/2012 22:46:49
Showing 1 changed files
Showing 1 changed files
... | ... |
@@ -1,12 +1,42 @@ |
1 | 1 |
To Install |
2 |
- |
|
3 |
- % cd /path/to/slideserver |
|
4 |
- % virtualenv -p python2.7 . |
|
2 |
+ |
|
3 |
+1. Get the source: |
|
4 |
+ |
|
5 |
+ % git clone https://github.com/fiddlerwoaroof/slideserver.git [14:28] |
|
6 |
+ Cloning into slideserver... |
|
7 |
+ remote: Counting objects: 53, done. |
|
8 |
+ remote: Compressing objects: 100% (43/43), done. |
|
9 |
+ remote: Total 53 (delta 21), reused 33 (delta 8) |
|
10 |
+ Unpacking objects: 100% (53/53), done. |
|
11 |
+ |
|
12 |
+2. Install virtualenv: |
|
13 |
+ |
|
14 |
+ % sudo easy_install-2.6 virtualenv |
|
15 |
+ Password: ... |
|
16 |
+ Searching for virtualenv |
|
17 |
+ Reading http://pypi.python.org/simple/virtualenv/ |
|
18 |
+ <snip> |
|
19 |
+ Installed .../virtualenv-1.7-py2.6.egg |
|
20 |
+ Processing dependencies for virtualenv |
|
21 |
+ Finished processing dependencies for virtualenv |
|
22 |
+ |
|
23 |
+ |
|
24 |
+3. Install prerequisites: |
|
25 |
+ |
|
26 |
+ % cd slideserver |
|
27 |
+ |
|
5 | 28 |
% source bin/activate |
29 |
+ |
|
6 | 30 |
% pip install -r requirements.txt |
31 |
+ Downloading/unpacking Mako==0.5.0 (from -r requirements.txt (line 1)) |
|
32 |
+ Downloading Mako-0.5.0.tar.gz (318Kb): 318Kb downloaded |
|
33 |
+ <snip> |
|
34 |
+ Successfully installed Mako Flask Twisted markdown pyyaml MarkupSafe Werkzeug Jinja2 zope.interface argparse |
|
35 |
+ |
|
7 | 36 |
|
8 |
-From the demo directory run: |
|
37 |
+4. From the demo directory run: |
|
9 | 38 |
|
39 |
+ % cd demo |
|
10 | 40 |
% PYTHONPATH=../.. PORT=8081 python -m slideserver.slides slideshow static |
11 | 41 |
|
12 |
-The demo slideshow will be served at <http://localhost:8081> |
|
13 | 42 |
\ No newline at end of file |
43 |
+5. Navigate to <http://localhost:8081> |
|
14 | 44 |
\ No newline at end of file |