Dočasný web pro kurz webového frontendu
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lekce
src
.gitignore
.surgeignore
CNAME
LICENSE
README.md
_menu.html
android-chrome-192x192.png
android-chrome-256x256.png
apple-touch-icon-120x120.png
apple-touch-icon-152x152.png
apple-touch-icon-180x180.png
apple-touch-icon-60x60.png
apple-touch-icon-76x76.png
apple-touch-icon.png
browserconfig.xml
favicon-16x16.png
favicon-32x32.png
favicon.ico
gulpfile.js
index.html
manifest.json
mstile-150x150.png
package-lock.json
package.json
safari-pinned-tab.svg

README.md

webkurz.pyladies.cz

This is more or less temporary website based on older materials from different sources. That's why it's software architecture is a bit weird.

Install

With node.js installed run

sudo npm i gulp-cli -g
npm i

Development

Enjoy automatic refreshing of everything by running.

gulp develop

The website will run on http://localhost:3030.

Content writing

Add .md files in subfolders of /lekce/. Required HTML files are created automatically.

Don't forget to add/remove links to files to /_menu.html and to /index.html.

Inside .md

Top sections are divided by \n---\n while subsections are divided by \n----\n.

For tasks add <!-- .slide: data-state="c-slide-task" --> at the beggining of the section.

Put HTML examples into <div class="c-example example-foo"> where example-foo is a name of your choice and add styling to examples.scss file.

Deployment

With installed surge client (npm i surge -g) run

gulp deploy

Note: you need to have access to surge account (just ask Dan Srb).