Skip to content
Snippets Groups Projects
Commit 632886f0 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

new README

parent 599f4a94
No related branches found
No related tags found
1 merge request!35Regular merge of develop
Pipeline #8459 passed
# Git Training
## Dependencies
- node
- yeoman
- bower
- grunt
## Installation
- Update your system
```bash
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential openssl libssl-dev curl
```
- Install Node
```bash
sudo apt install npm
npm install --global npm@latest
```
- Under Unix, create a symbolic link for `node`
```bash
sudo ln -s /usr/bin/nodejs /usr/bin/node
```
- Install Yeoman, bower and grunt
```bash
sudo npm install --global yo
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
sudo npm install
```
## Serve
```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.
# git training
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment