@@ -10,13 +10,39 @@ The course is divided into 4 sections. Each of the slides and practice files can
10
10
Development Setup
11
11
-----------------
12
12
13
- To work on these slides, follow these steps:
13
+ Make sure you have git installed on your computer, and open a terminal window.
14
+
15
+ You'll need to clone this repository to your computer:
16
+
17
+ git clone https://github.com/calebsmith/gdi-intro-python.git
18
+
19
+ reveal.js is stored as a git submodule. To set up the reveal.js code:
20
+
21
+ cd gdi-intro-python
22
+ git submodule init
23
+ git submodule update
24
+
25
+ (Note: Some internet connections (including our class location) block SSH
26
+ connections on Port 22. If you get an error running the above, edit
27
+ `` gdi-into-python/.git/modules/reveal/config `` and change the line
28
+ `` url = git://[email protected] /girldevelopit/reveal.js.git `` to
29
+ `` url = https://github.com/girldevelopit/reveal.js.git `` and run the above
30
+ commands again.)
31
+
32
+ To get the code running, run `` python server.py `` from the gdi-intro-python
33
+ directory.
34
+
35
+ Finally, navigate to `` http://localhost:8000/ `` in your browser.
36
+
37
+ Livereload
38
+ ----------
39
+
40
+ This is an optional part of running the slides locally. This is only needed if
41
+ you would like for the browser to reload the slides on save
14
42
15
- * Fork the repo and clone it to a local working directory.
16
- * Clone the reveal git submodule.
17
43
* For a livereload server, ` pip install -r requirements ` . (If you don't have a
18
44
full Python environment, there are various other livereload server
19
45
implementations such as those in Ruby or Node.js)
20
46
* Install the livereload chrome extension.
21
47
* Run the server.py server in a terminal using ` python server.py ` and open a
22
- browser to localhost at the port of the server (defaults to 8000)
48
+ chrome to `` http:// localhost: 8000/ ``
0 commit comments