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
{{ message }}
This repository was archived by the owner on Jun 7, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+31-5Lines changed: 31 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,12 +33,38 @@ Once paver is installed you will also need to install sphinxcontrib-paverutils,
33
33
34
34
# pip install sphinxcontrib-paverutils
35
35
36
-
Publishing your own materials with Runestone
37
-
--------------------------------------------
36
+
Quick Start
37
+
-----------
38
38
39
-
1. Clone the RunestoneTools repository to your development machine
40
-
2. Create a repository (if you don't already have one where you would like to host the finished product)
41
-
3. paver build
39
+
This guide will get you started with creating your own course materials using the Runestone tools.
40
+
41
+
1. Clone the RunestoneTools repository to your development machine ``git clone https://github.com/RunestoneInteractive/RunestoneTools.git``
42
+
43
+
2. Type the command ``paver build``
44
+
45
+
You will now have a build folder with a file index.html in it, along with some default content. The contents of the build folder are suitable for hosting anywhere that you can serve static web content from! For a small class you could even serve the content using the builtin Python webserver.
46
+
47
+
::
48
+
49
+
$ cd build
50
+
$ python3 -m http.server
51
+
52
+
Now from your browser you can open up http://localhost:8000/index.html
53
+
54
+
Running your own web server isn't always the easiest way to go. So I have provided a couple of commands to make it easy for you to host your materials using githubs Pages feature.
55
+
56
+
57
+
2. Create a repository (if you don't already have one where you would like to host the finished product) Copy the github URL to your clipboard.
58
+
2. Type the command ``paver setup_github_pages`` You will be prompted to paste in the URL to your repository.
59
+
2. Type the command ``paver deploy``
60
+
2. Now you can access your pages from github at http://username.github.io/repo where username is your github username, and repo is the repository you created to host your deployed pages. Note that the deployed pages will be on the branch ``gh-pages``
61
+
62
+
Details
63
+
~~~~~~~
64
+
65
+
If you want to know the details of what goes on in the paver commands above here is what is happening:
66
+
67
+
3. paver build -- creates build directory and html files
0 commit comments