Polymer Static Web Application boilerplate based on Polymer Starter Kit and Metalsmith.
✨ DEMO ✨
- Content in Markdown format parsed by markdown-it
- Jade HTML template engine
- Jade have Variables, Includes, Extends, Mixins and other features
- Learning Jade with Codecast
- Quick deploy to CDN Hosting
- GitHub Pages - more info
# Add Ruby repository
sudo add-apt-repository -y ppa:brightbox/ruby-ng
# Script to install NodeSource repository
curl -sL https://deb.nodesource.com/setup | sudo bash -
# Install Git, Node.js and Ruby
sudo apt-get install -y git nodejs ruby2.2
# Install Bower, Gulp and NPM
sudo npm install -g bower gulp npm
# Install Sass
sudo gem install sass
- Atom is great editor for web development, you can use Atom on Ubuntu script.
- For other OS, you can use Ubuntu VM Image or Google Search 😉
Fork this repository
Syncing a fork of a repository to keep it up-to-date with the upstream repository.
or
git clone https://github.com/StartPolymer/polymer-static-app.git <my-repo-name>
cd <my-repo-name>
git branch -m psa
git checkout -b master
git remote rename origin psa
git remote add origin https://github.com/<user>/<my-repo-name>.git
git push -u origin master
bower install && npm install
- Gulp variables are in the file gulp/psk-config.js
http://localhost:9000
and http://<Your IP>:9000
gulp serve
gulp serve:dist
gulp
First you need to be sure you have a gh-pages branch. If you don't have one, you can do the following:
git checkout --orphan gh-pages
git rm -rf .
touch README.md
git add README.md
git commit -m "Init gh-pages"
git push --set-upstream origin gh-pages
git checkout master
gulp deploy:gh
gulp pagespeed
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Make your changes
- Run the tests, adding new ones for your own code if necessary
- Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright (c) 2015 Start Polymer (http://startpolymer.org)