Skip to content

Commit 116a354

Browse files
committed
Merge remote-tracking branch 'rebecca/master' into develop
Conflicts: README.md
2 parents 340743f + e2e2974 commit 116a354

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

README.md

+30-4
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,39 @@ The course is divided into 4 sections. Each of the slides and practice files can
1010
Development Setup
1111
-----------------
1212

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
1442

15-
* Fork the repo and clone it to a local working directory.
16-
* Clone the reveal git submodule.
1743
* For a livereload server, `pip install -r requirements`. (If you don't have a
1844
full Python environment, there are various other livereload server
1945
implementations such as those in Ruby or Node.js)
2046
* Install the livereload chrome extension.
2147
* 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

Comments
 (0)