GithubHelp home page GithubHelp logo

csm13ctl / gridsome-starter-kontent-lumen Goto Github PK

View Code? Open in Web Editor NEW

This project forked from creio/gridsome-starter-kontent-lumen

0.0 0.0 0.0 3.32 MB

Lumen is a minimal, lightweight and mobile-first starter for creating blogs using Gridsome and Kentico Kontent.

License: MIT License

JavaScript 3.52% HTML 16.14% SCSS 50.57% Vue 29.76%

gridsome-starter-kontent-lumen's Introduction

Gridsome Starter Kontent Lumen

GitHub license Stack Overflow Live demo

Netlify Status

Lumen is a minimal, lightweight and mobile-first starter for creating blogs using Gridsome.

Page Screenshot

Features

  • Content from Kontent headless CMS.
  • Stylesheet built using SASS and BEM-Style naming.
  • Archive organized by tags and categories.
  • Google Analytics support.

Getting Started

Requirements

Install Gridsome CLI tool if you don't have

npm install --global @gridsome/cli

Create codebase

  1. Click on "Use this repository" button to create your own repository from this template.

Create content source

  1. Go to app.kontent.ai and create empty project

  2. Go to "Project Settings", select API keys and copy

    • Project ID
  3. Install Kontent Backup Manager and import data to newly created project from kontent-backup.zip file (place appropriate values for apiKey and projectId arguments):

    npm i -g @kentico/kontent-backup-manager
    
    kbm --action=restore --apiKey=<Management API key>
        --projectId=<Project ID> --zipFilename=kontent-backup

    Alternatively, you can use the Template Manager UI for importing the content.

  4. Go to your Kontent project and publish all the imported items.

Join codebase and content data

Copy .env.template and name it .env then set the KONTENT_PROJECT_ID environment variable to value from Kontent -> "Project Settings" -> API keys -> Project ID.

You are now ready to use the site as your own!

Development

Install the dependencies and run development environment

npm install  
npm run develop

Site production build

Install the dependencies and run production build

npm install
npm run build

Production Deploy

Before deploying to production add own google analytics trackingId to [gridsome.config.js].

Deploy with Netlify

Netlify can run in any frontend web environment, but the quickest way to try it out is by running it on a pre-configured starter site with Netlify. Use the button below to build and deploy your own copy of the repository:

Deploy to Netlify

After clicking that button, you’ll authenticate with GitHub and choose a repository name. Netlify will then automatically create a repository in your GitHub account with a copy of the files from the template. Next, it will build and deploy the new site on Netlify, bringing you to the site dashboard when the build is complete. Next, you’ll need to set up Netlify’s Identity service to authorize users to log in to the CMS.

gridsome-starter-kontent-lumen's People

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.