Coder Social home page Coder Social logo

albinohrn / nextjs-enonic-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from enonic/nextxp-demo

0.0 0.0 0.0 26.49 MB

Home Page: https://enonic-demo-drafts-woad.vercel.app

License: Apache License 2.0

Shell 2.19% JavaScript 1.47% TypeScript 82.05% CSS 14.29%

nextjs-enonic-demo's Introduction

NextJS ♡ Enonic : Front-end part of the Enonic/Next.js headless CMS demo

This is repo is based on https://github.com/enonic/nextjs-enonic-template and represents the end-result of completing the Next.xp tutorial: https://developer.enonic.com/docs/next.xp

Running demo in the cloud

Follow the TLDR; instructions listed on the front-page of the tutorial referenced above.

Running demo locally

  1. Launch local Enonic SDK sandbox (https://developer.enonic.com/start)
  2. Launch Enonic XP admin from http://localhost:8080
  3. From XP menu - Applications - Install the "Next.js demo" app from Enonic Market (back-end part of demo)
  4. Configure and run the Next.js app "nextjs-enonic-demo" (front-end part of demo)
npx degit [email protected]:enonic/nextjs-enonic-demo.git
npm install
npm run dev

Open http://localhost:3000 with your browser to see the result.

Releasing new version

Prepare demo repo

  1. Create new features in a branch
  2. Test and verify the app
  3. Update docs if needed
  4. Create pull-request to master on github
  5. Tag master using git tag v0.9.0 after pull-request is merged

Update template repo

  1. Move all relevant changes to a feature branch in the template repo
  2. Test and verify the changes
  3. Create pull-request to master on github
  4. Tag master branch using git tag v0.9.0 after pull-request is merged

Final step: Release

  1. Merge changes to master for both repositories
  2. Verify that setting up new next app is working according to tutorial
  3. Verify that the TLDR; is working

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.