Personal Website
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bower_components
elements
images
scripts
styles
templates
404.html
CNAME
Gemfile
Gemfile.lock
Gruntfile.js
README.md
bower.json
index.html
package-lock.json
robots.txt
sitemap.xml

README.md

yyunikov.github.io

Personal website. Is built using Polymer framework, Grunt, Jekyll and Github Pages.

Branches

dev - contains the source files for the website

master - contains the generated production website

Tasks

grunt dev - builds development version of files

grunt prod - builds production version of files (minified css, uglified js, etc.)

grunt deploy - deploys website to production

Local development

To run website locally you need to have Node.js and Ruby installed.

Run the following commands to start the website:

  1. Install grunt-cli and bower globally with npm install -g grunt-cli bower
  2. Run npm install
  3. Run bower install
  4. Then build with grunt dev
  5. Run gem install jekyll
  6. And run the server with jekyll serve --watch

After that you can check out the website running on localhost:4000

Deployment

Deployment is done using grunt build control.

Check out the Gruntfile.js and change the following lines to your remote and branch:

      pages: {
        options: {
          remote: 'git@github.com:yyunikov/yyunikov.github.io.git',
          branch: 'master'
        }
      }

Then run grunt deploy command to deploy generated website to the specified branch.

License

Copyright 2018 Yuriy Yunikov

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.