在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Qualy-org/qualy-presenter开源软件地址(OpenSource Url):https://github.com/Qualy-org/qualy-presenter开源编程语言(OpenSource Language):CSS 94.5%开源软件介绍(OpenSource Introduction):This is a boilerplate to use Reveal.JS easily with Gulp, Pug and Stylus. To know more about Reveal.js and how to use, read the docs here. Getting StartedDemoYou can see the demo here InstallationFirst of all, install the dependencies to run this boilerplate. # Clone this repository
$ git clone [email protected]:Qualy-org/qualy-presenter.git new_project
$ cd new_project
# install dependencies
$ npm install
# run tasks and serve
$ npm start With the commands above, you have everything to start. ├── Readme.md
├── build
│ ├── css
│ │ └── main.css
│ │ └── theme.css
│ ├── img
│ ├── index.html
│ └── js
│ ├── main.js
│ └── vendor
├── gulp
│ ├── index.js
│ ├── paths.js
│ └── tasks
├── gulpfile.js
├── package.json
└── src
├── img
├── js
│ ├── main.js
│ └── vendor
├── slides
├── styl
│ ├── highlight-themes
│ ├── reveal-themes
│ ├── vendor
│ ├── main.styl
│ └── theme.styl
└── templates
├── inc
│ ├── head.pug
│ └── scripts.pug
└── index.pug How to Use
How to use Speaker NotesJust add - var notes = 'You can enter anything you want here. Just add data-notes to the section.'
section(data-notes=notes)
img(src="img/qualy-presenter.png", alt="")
p
a(href="https://github.com/Qualy-org/qualy-presenter") Look the code on Github <3 How to use with git and deploy to Github PagesWhen you clone this repo, every git information will be downloaded to. So, you have to remove all my git stuff to create yours. # Inside of your project runs to remove git folder.
rm -Rf .git Next, initialize your git repository: # init the repo
git init Commit all files: # add all files to commit
git add .
# create a commit
git commit -m "Initial commit" The first deploy needs to be manual: # creates a gh-pages branch
git checkout -b gh-pages
# push and track the gh-pages branch
git push --set-upstream origin gh-pages To do next deploys, you just have to run with gulp: # will create a .publish folder with build content
# and push to gh-pages branch.
npm run deploy Tasks
ExamplesSome presentations using the boilerplate:
LicenseThis boilerplate is free and open source software, distributed under the The MIT License. So feel free to use this to create your site without linking back to me or using a disclaimer. If you’d like to give me credit somewhere on your blog or tweet a shout out to @willian_justen, that would be pretty sweet. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论