This is the basic Jekyll starter site, with Netlify CMS integrated.
Then open a new terminal, cd
into your new repo and run:
git clone https://github.com/tax1/jekyll/
cd jekyll
bundle install
bundle exec jekyll build
bundle exec jekyll server --watch
Now navigate to localhost:4000 to preview the site, and to localhost:4000/admin to log into the CMS.
To deploy to production, make sure to push this repository to a Github repo you own.
Then go to netlify and start a new project. Pick your
new Github repository. Netlify should fill out the build command and public folder
(jekyll build
and /_site
).
Build and deploy the site.
Now go to the GitHub developer application screen and register new application.
Once you've setup the application, go back to netlify, navigate to the Access tab. Then fill in your new Client ID and Client Secret in the Github Authentication Provider and check the Enable GitHub box.
Now anybody with write access to your GitHub repository can log in at yoursite.netlify.com/admin and use the CMS.
cd jekyll/admin/
leafpad config.yml
Change Path to your Github repository && Change with you Netlify Webtite url :
repo: tax1/jekyll # Change Path to your Github repository netlify.configure({'site_id': YourSite.netlify.com}); # Change with you name site on Netlify
We found a potential security vulnerability in one of your dependencies. The yajl-ruby dependency defined in Gemfile.lock has a known low severity security vulnerability in version range < 1.3.1 and should be updated.
Only users who have been granted access to vulnerability alerts for this repository can see this message. Learn more about vulnerability alerts These dependencies have been defined in jekyll‘s manifest files, such as Gemfile and Gemfile.lock
gem uninstall yajl-ruby
Enjoy!
Help to configure :
https://www.netlify.com/docs/authentication-providers/#using-an-authentication-provider
https://www.netlify.com/blog/2015/10/28/a-step-by-step-guide-jekyll-3.0-on-netlify/
We love feedback, contributions, better documentation, tutorials, general comments, random hatemail, rants, love, crazy ideas, etc, etc!
Contact us at any of netlify's normal channels and open issues or pull requests at the netlify-cms GitHub repo