Code Monkey home page Code Monkey logo

iot-incubator-cms's Introduction

Content v2 Minimal Starter

Look at the Content documentation to learn more.

Setup

Make sure to install the dependencies:

# yarn
yarn install

# npm
npm install

# pnpm
pnpm install --shamefully-hoist

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Checkout the deployment documentation for more information.

Initial Setup

Why custom setup from scratch and not use template of Netlify? Because I wanted to use Vue3 and Netlify template currently only support Vue2.

  1. Setup Nuxt.js. Follow this guide https://content.nuxtjs.org/get-started.
  2. Integrate Netlify CMS: https://www.netlifycms.org/docs/nuxt/
  3. Don't forget to enable following options on Netlify (Can all be found under identity settings):
  • Identify
  • External Providers: github
  • Github gateway
  • Only enable registration by invite
  1. Setup Vuetify with Nuxt 3: https://codybontecou.com/how-to-use-vuetify-with-nuxt-3.html

User Registration

Invite users via Netlify => Identify

User than get's invitation link. For the moment we need to change the link to take the /admin part into account. So https://precious-palmier-eb57a6.netlify.app/#invite_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx becomes https://precious-palmier-eb57a6.netlify.app/admin/#invite_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.

The user should then be presented with login.

iot-incubator-cms's People

Contributors

bioboost avatar

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.