Coder Social home page Coder Social logo

nielsenramon / kickster Goto Github PK

View Code? Open in Web Editor NEW
152.0 12.0 26.0 2.08 MB

Worry-free deploying to GitHub Pages using Jekyll

Home Page: http://kickster.nielsenramon.com

HTML 31.68% JavaScript 0.38% Ruby 33.01% Shell 34.93%
jekyll ruby html template deployment scripts circle-ci travis-ci github-page kickster

kickster's People

Contributors

dsdeiz avatar gitter-badger avatar nielsenramon avatar strangehill avatar wouterw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kickster's Issues

Could you explain how to deploy without command line?

My goal is a simple blog and your layout is fantastic. Could you please give me steps to create my copy? Just by using github.com. I created my repository, but of course it fails to build with Jekyll.

Warning:  github-pages can't satisfy your Gemfile's dependencies.
  Logging at level: debug
Configuration file: /github/workspace/./_config.yml
      GitHub Pages: github-pages v228
      GitHub Pages: jekyll v3.9.3
             Theme: jekyll-theme-primer
      Theme source: /usr/local/bundle/gems/jekyll-theme-primer-0.6.0
         Requiring: jekyll-github-metadata
To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
   GitHub Metadata: site.name is set in _config.yml, but many plugins and themes expect site.title to be used instead. To avoid potential inconsistency, Jekyll GitHub Metadata will not set site.title to the repository's name.
  Liquid Exception: Liquid syntax error (/github/workspace/_includes/image.html line 1): Unknown tag 'asset' included in /github/workspace/_posts/2017-12-21-chalk-sample-post-with-all-elements.md
/usr/local/bundle/gems/liquid-4.0.4/lib/liquid/document.rb:23:in `unknown_tag': Liquid syntax error (/github/workspace/_includes/image.html line 1): Unknown tag 'asset' included  (Liquid::SyntaxError)

I understand that jekyll-assets plugin is not supported by the Github pages, as the README explains.

Is there a way for me to set up what you have in the /bin/deploy perhaps through creating a .github/workflows/jekyll-gh-pages.yml? This is way beyond me so I am stumped. Any help is appreciated.

Command not found after installing

Hey,

I'm trying to install kickster in my project. I installed it by running gem install kickster, but when I try to run kickster new site it returns -bash: kickster: command not found. How can I fix the problem?

Thanks!

No _posts links in the _site/index.html document

I've did Kickster setup as documented

created the blog as kickster new blog

Please find bin/setup output attached
setup.log

The problem is that blog/_site/index.html has no blog posts from the blog/_posts folder.

I run bundle exec jekyll serve under the blog folder having blog/_posts/2021-05-05-test.html like below

<p>test html</p>

and the blog\_site\2021\05\05\test\index.html is created but the blog\_site\index.html document has no references to post.

Then I've updated the blog/Gemfile with the gem "kramdown-parser-gfm" line and tried with the 2021-06-30-welcome-to-jekyll.markdown (from the sample jekyll site) in the blog/_posts/2021-06-30-welcome-to-jekyll.markdown

The blog\_site\jekyll\update\2021\06\30\welcome-to-jekyll\index.html was created after build but the blog/_site/index.html has no reference for it.

I have just did the same for jekyll

jekyll new myblog
cd myblog
bundle exec jekyll serve

and the test file myblog\_posts\2021-06-30-welcome-to-jekyll.markdown appeared in the _site/index.html document body.

Help me please is there anything I should know about the kickster setup to have posts entry links renderred in the _site/index.html body?

Problem with automated deploy

I'm getting the following error in the Circle CI build:
bash: line 1: ./bin/automated: Permission denied Action failed: ./bin/automated

How to fix this?

circle.yml

machine:
  environment:
    USER_NAME: lnmunhoz
    USER_EMAIL: [email protected]
  ruby:
    version: 2.2.3

dependencies:
  pre:
    - ./bin/setup

deployment:
  production:
    branch: master
    commands:
      - ./bin/automated

automated

#!/bin/bash

# Automated deploy script with Circle CI.

# Exit if any subcommand fails.
set -e

# Variables
ORIGIN_URL=`git config --get remote.origin.url`

echo "Started deploying"

# Checkout gh-pages branch.
if [ `git branch | grep gh-pages` ]
then
  git branch -D gh-pages
fi
git checkout -b gh-pages

# Build site.
bundle exec jekyll build

# Delete and move files.
find . -maxdepth 1 ! -name '_site' ! -name '.git' ! -name '.gitignore' -exec rm -rf {} \;
mv _site/* .
rm -R _site/

# Push to gh-pages.
git config user.name "$USER_NAME"
git config user.email "$USER_EMAIL"

git add -fA
git commit --allow-empty -m "$(git log -1 --pretty=%B) [ci skip]"
git push -f $ORIGIN_URL gh-pages

# Move back to previous branch.
git checkout -

echo "Deployed Successfully!"

exit 0

CircleCI ver.2.0 config

Hi!
I love this simple and elegant tool. But the CircleCI doesn't accept the current config-file has written for an old version. And the CircleCI noticed about it on them blog

Are you could to transform it into the new version?

_site/assets not updating when adding files to _assets folder

Whenever I add a new file (image or .css or whatever) to _assets folder, the _site/assets is not updating.
Hence, the generated file gives an error of files not found.

Regenerating: 1 file(s) changed at 2016-08-10 15:27:19 ...done in 32.98629
6 seconds.
[2016-08-10 15:27:56] ERROR `/assets/frameworks.css' not found.
[2016-08-10 15:28:24] ERROR `/assets/frameworks.css' not found.

Update:
Apparently, you have to use/call those assets to be included in the _site folder.
I've used @import for frameworks.css so I guess that doesn't work

Jekyll-assets issue?

Newly added assets in the /_assets directory (images) don't seem to be copied over to the _site directory.

Adding below code in _config.yml fixed it for me though. (Got this from the Jekyll-assets docs).

assets:
    - "*.png"
    - "*.jpg"
    - "*.svg"

So my question is: did I overlook something else, or is this a bug? :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.