https://github.com/irontec/slides-ssh-devs
SSH tricks for web developers
https://github.com/irontec/slides-ssh-devs
ssh tricks
Last synced: 7 months ago
JSON representation
SSH tricks for web developers
- Host: GitHub
- URL: https://github.com/irontec/slides-ssh-devs
- Owner: irontec
- Created: 2019-10-04T11:29:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-02T22:44:17.000Z (over 4 years ago)
- Last Synced: 2025-01-31T04:53:54.555Z (over 1 year ago)
- Topics: ssh, tricks
- Language: JavaScript
- Size: 7.73 MB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reveal.js webpack starter
Another webpack starter for reveal.js
## Usage
Clone this proyect (delete .git folder, and push to your own remote), then change the **./content** directory:
* Edit _config.json_
* Add slides and index them on config.json (glob patterns supported!)
* Add your media files to be added on the bundle: use _assets_ folder, and use relative URLs from there.
* Edit your custom css on _content/css/index.scss_.
* Supported plugins:
* google analitycs
* search
* zoom
* menu
* notes
* highlightjs
* ga
* service workers are supported with workbox.
```json
{
"title": "🦄 Irontec reveal.js - webpack starter demo 🦄",
"options": {
"controls": true,
"progress": true,
"history": true,
"center": true,
"slideNumber": false,
"touch": true,
"hideAddressBar": true,
"mouseWheel": true
},
"serviceWorker": true,
"plugins": {
"search": true,
"zoom": true,
"menu": true,
"notes": true,
"highlightjs": true,
"ga": "UA-XXXXXXXX-X"
},
"slides": [
{"path": "index.md", "attrs": {"class":"intro"}},
[
"subcontent/*.md"
],
"end.html"
]
}
```
## Development time
```bash
npm start
```
Will open a dev-server on http://localhost:8080
> If changes are made on *config.json* dev server must be *restarted*.
## Bundle time
```bash
npm run build
```
Will create a build on _./dist/_.
## Deploy time
### gitlab
There is a sample _.gitlab-ci.yaml.sample_ file to be used as a template for gitlab pipelines.
### github
There is a npm script ready for publishing on github's pages:
```bash
npm run deploy:gh
```
# TODO
* npm init command
* generate a SEO friendly dist (parse md on build time
# Instalar irontec-reveal.js-theme@0.0.4
Antes de ejecutar "npm install":
* npm set registry https://npm-packages.irontec.com
* npm adduser --registry https://npm-packages.irontec.com