webrgp / craftnet

Home Page:https://id.craftcms.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Craftnet

Craftnet is the Craft project that powers various services for Craft CMS, including id.craftcms.com, plugins.craftcms.com, and the Craftnet API.

It is not meant to be self-installable. We’ve published it to a public repo for the issue tracking and because we hope some aspects of the code will serve as helpful examples for other advanced Craft projects.

Development

Local Development with DDEV

Prerequisites

  • Install DDEV
  • A database backup, placed in ./storage/backups/craftnet.dump

Setup

cp .env.example .env
ddev start
ddev composer install
ddev exec php craft setup/security-key
ddev exec pg_restore --dbname=db --single-transaction --no-owner < storage/backups/craftnet.dump

Examples

# View URLs and other relevant info
ddev describe

# Run craft CLI commands
ddev exec php craft

# Login to the CP
open https://id.craftnet.ddev.site/negroni

About

https://id.craftcms.com


Languages

Language:PHP 63.4%Language:Vue 20.5%Language:JavaScript 9.1%Language:Twig 3.4%Language:HTML 2.0%Language:Shell 1.3%Language:SCSS 0.2%Language:CSS 0.1%Language:Batchfile 0.0%Language:PLpgSQL 0.0%