2020-04-19 10:07:35 +00:00
|
|
|
# Teaching-Boilerplate
|
2018-04-20 15:27:59 +00:00
|
|
|
|
2020-04-19 10:07:35 +00:00
|
|
|
## Prerequisites
|
2018-04-20 15:27:59 +00:00
|
|
|
|
2020-04-19 10:07:35 +00:00
|
|
|
Make sure you have python and node installed
|
2018-04-20 15:27:59 +00:00
|
|
|
|
2020-04-19 10:07:35 +00:00
|
|
|
Install python packages
|
2018-04-20 15:27:59 +00:00
|
|
|
|
2020-04-19 10:07:35 +00:00
|
|
|
pip install -U pipenv
|
|
|
|
pipenv install
|
2018-04-20 15:27:59 +00:00
|
|
|
|
2020-04-19 10:07:35 +00:00
|
|
|
Install node packages
|
2018-04-20 15:27:59 +00:00
|
|
|
|
2020-04-19 10:07:35 +00:00
|
|
|
npm install
|
2018-04-20 15:27:59 +00:00
|
|
|
|
|
|
|
|
2020-04-19 10:07:35 +00:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
### Watch mode
|
|
|
|
|
|
|
|
This mode allows you the result on-the-fly as you makea changes in the content.
|
|
|
|
|
|
|
|
To use watch mode, type:
|
|
|
|
|
|
|
|
make watch
|
|
|
|
|
|
|
|
To use watch mode for slides only type:
|
|
|
|
|
|
|
|
make watch-slides
|
|
|
|
|
|
|
|
To use watch mode for docs only type:
|
|
|
|
|
|
|
|
make watch-docs
|
|
|
|
|
|
|
|
|
|
|
|
### Build mode
|
|
|
|
|
|
|
|
This mode builds final content for delivery (website, PDF files)
|
|
|
|
|
|
|
|
To use build mode:
|
|
|
|
|
|
|
|
make build
|