Skip to content

jannisborgers/craftnet

 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • PHP 63.3%
  • Vue 20.5%
  • JavaScript 9.1%
  • Twig 3.5%
  • HTML 2.0%
  • Shell 1.3%
  • Other 0.3%