nielsenramon / kickster Goto Github PK
View Code? Open in Web Editor NEWWorry-free deploying to GitHub Pages using Jekyll
Home Page: http://kickster.nielsenramon.com
Worry-free deploying to GitHub Pages using Jekyll
Home Page: http://kickster.nielsenramon.com
Must've creeped in there somehow.
https://github.com/nielsenramon/kickster/blob/master/_layouts/default.html#L10
Can you put an alert when there are uncommited changes in the local repository to avoid missing work?
After installation it should install dependencies from other package managers as well, don't you think?
I publish my organization page to master branch, to run on given domain,so can you please add support for deployment to master branch using kickster
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.
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!
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?
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
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?
Currently Kickster only works with *.github.io/.../ domainnames.
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
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? :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.