Compare commits
3 Commits
a3d80de33c
...
7f29ee8c3a
| Author | SHA1 | Date | |
|---|---|---|---|
| 7f29ee8c3a | |||
| ce0973def5 | |||
| daf2099267 |
46
README.md
46
README.md
@ -1,8 +1,50 @@
|
|||||||
# OnPoint
|
# onPoint
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
You have to have python3 and pandoc installed.
|
This program is meant to be used as a git submodule of your actual presentation project, therefore you need to add it:
|
||||||
|
|
||||||
|
$ git submodule add -b release git@path-to-onpoint.git
|
||||||
|
|
||||||
|
Make sure to have python3 and pandoc installed.
|
||||||
|
Next, we can install all requirements:
|
||||||
|
|
||||||
$ cd onpoint
|
$ cd onpoint
|
||||||
$ pip3 install -r requirements.txt
|
$ pip3 install -r requirements.txt
|
||||||
|
|
||||||
|
## The Project Structure
|
||||||
|
|
||||||
|
We recommend you to structure your project directory like this:
|
||||||
|
|
||||||
|
├── images
|
||||||
|
├── layouts
|
||||||
|
│ ├── default.html
|
||||||
|
│ ├── root.html
|
||||||
|
│ └── titlepage.html
|
||||||
|
├── meta.yml
|
||||||
|
├── onpoint
|
||||||
|
│ ├── main.py
|
||||||
|
│ ├── README.md
|
||||||
|
│ └── requirements.txt
|
||||||
|
├── slides
|
||||||
|
│ ├── chapter1.de.md
|
||||||
|
│ ├── chapter1.en.md
|
||||||
|
│ ├── chapter2.de.md
|
||||||
|
│ └── chapter2.en.md
|
||||||
|
├── slides.de.html
|
||||||
|
├── slides.en.html
|
||||||
|
├── slides.yml
|
||||||
|
└── styles
|
||||||
|
└── style.css
|
||||||
|
|
||||||
|
* `onpoint` is where this program lives.
|
||||||
|
* In `layouts`, you can create custom templates for your slides.
|
||||||
|
* `meta.yml` is there to add language-specific meta information (like title internationalization).
|
||||||
|
* `slides.yml` will contain a list of all chapters to be included. Their content is expected to live in files inside the `slides` folder.
|
||||||
|
* You can store your usual web resources in the folders `styles` and `images`.
|
||||||
|
|
||||||
|
## Updating onPoint
|
||||||
|
|
||||||
|
In order to update the version of onPoint in an existing project, run the following command:
|
||||||
|
|
||||||
|
$ git submodule update --recursive --remote
|
||||||
Loading…
x
Reference in New Issue
Block a user