Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

ThijmenGThN/NextCMS

Repository files navigation

NextCMS

NextCMS is an Content Management System driven by Next.js, it has been built from the groud up to serve as a template to build apps with ease that are in need of an administered and interactable website.

[ALT]: NextCMS interface login and users preview.

Installation

  1. Make sure you've installed Docker.
  2. Rename /.env-template to /.env or make your own /.env file.
  3. Change the contents of the file /.env accordingly.
  4. Run: docker build -t nextcms .
  5. Run: docker run --name NextCMS -p 3000:3000 -d nextcms
  6. Populate the database: docker exec NextCMS npx prisma db seed

NextCMS should now be accessible at http://0.0.0.0:3000.

Roles

Level Name Can Login Edit Users
4 Administrator Yes Yes
3 Moderator Yes Yes
2 Viewer Yes No
1 Unprivileged No No

Dev Cmds

Command Description requires
npm start Production / Deployment npm run build
npm run dev Use this for development
npm run build Creates an optimized build
npx prisma db push Database preparation
npx prisma db seed Populate the database npx prisma db push

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages