Newer
Older
# Git Training
## Dependencies
- node
- yeoman
- bower
- grunt
## Installation
- Update your system
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential openssl libssl-dev curl
```
- Install Node
sudo apt install npm
npm install --global npm@latest
```
- Under Unix, create a symbolic link for `node`
sudo ln -s /usr/bin/nodejs /usr/bin/node
```
sudo npm install -g generator-reveal
sudo npm install -g grunt-cli
sudo npm install -g bower
- Move to the cloned repository and install other dependencies
```bash
grunt
```
## Adding a new slide:
```bash
$ yo reveal:slide --markdown --attributes --notes "Slide Title"
```
## Publish to Github Pages
```bash
grunt dist
```
Copy the content of the `dist` folder into the `gh-pages` branch of `https://github.com/uni-lu/slides`
Some hyperlinks need to be fixed. To do so edit the `index.html` file and remove all `../` before images location.