Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
stgm authored Feb 5, 2021
1 parent e27499e commit f4e4b0c
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Course website
==============

This site serves courses that reside in a git repo consisting of mostly Markdown-formatted text files and any other source files that should be served to the students. Ruby 1.9 with Rails 4.0 is required.
This site serves courses that reside in a git repo consisting of mostly Markdown-formatted text files and any other source files that should be served to the students. The code is targeted towards Rails 6.1.

How to install
--------------
Expand All @@ -10,7 +10,7 @@ Clone the application:

git clone [email protected]:uva/course-site.git
bundle install
rake db:schema:load
rails db:schema:load

You can now claim the site by authenticating, and then load the initial content by specifiying a git repository URL that can be cloned.

Expand All @@ -22,7 +22,7 @@ Alternatively, you can clone the course contents yourself, into the `public/cour
On the source format
--------------------

* Have a look at https://github.com/uva/uva-prog-physics for information on
* Have a look at https://github.com/minprog/platforms for information on
how to organize your course repository. At the very least, you need a
`course.yml` and a `info` directory containing subpages for the homepage.

Expand All @@ -44,7 +44,7 @@ Formatting your pages

* All pages are to be formatted with [Markdown] and the [Kramdown] extensions.

* You can use [AsciiMath] or LaTeX if enclosed within pairs of dollar signs (`$sin(x)$$`, or `$sin(x)$` for inlined math). Check the [AsciiMath syntax].
* You can use [AsciiMath] or LaTeX if enclosed within pairs of dollar signs (`$$sin(x)$$`, or `$sin(x)$` for inlined math). Check the [AsciiMath syntax].

* Add a table of contents to a page using:

Expand All @@ -54,16 +54,8 @@ Formatting your pages
This single bullet item is then replaced with a full table of contents of
level 1 and 2 headings.

* Add a content delivery network server by adding a link to it in
`course.yml`:

cdn: http://cdn.mprog.nl/uva-prog-physics

Then, any link starting with `cdn://` will be rewritten to start with
that exact cdn url.

[Markdown]: http://daringfireball.net/projects/markdown/syntax
[Kramdown]: http://kramdown.rubyforge.org/syntax.html
[Kramdown]: https://kramdown.gettalong.org/syntax.html
[AsciiMath]: http://www.wjagray.co.uk/maths/ASCIIMathTutorial.html
[AsciiMath syntax]: http://www.intmath.com/help/send-math-email-syntax.php

Expand Down

0 comments on commit f4e4b0c

Please sign in to comment.