aheinze/cockpit

Cockpit Headless CMS

Fund package maintenance!
Patreon
Open Collective

Installs: 1 923

Dependents: 3

Suggesters: 11

Security: 1

Stars: 5 401

Watchers: 153

Forks: 525

Language:JavaScript

Type:project

0.12.2 2021-09-06 13:26 UTC

README

Cockpit's next iteration moved to a dedicated Cockpit organization on Github. Please visit https://github.com/Cockpit-HQ/Cockpit to follow the latest development.

☝️☝️☝️

Cockpit Next

Requirements

  • PHP >= 7.3
  • PDO + SQLite (or MongoDB)
  • GD extension
  • mod_rewrite, mod_versions enabled (on apache)

make also sure that $_SERVER['DOCUMENT_ROOT'] exists and is set correctly.

Installation

  1. Download Cockpit and put the cockpit folder in the root of your web project
  2. Make sure that the /cockpit/storage folder and all its subfolders are writable
  3. Go to /cockpit/install via Browser
  4. You're ready to use Cockpit :-)

Build (Only if you modify JS components)

You need nodejs installed on your system.

First run npm install to install development dependencies

  1. Run npm run build - For one-time build of styles and components
  2. Run npm run watch - For continuous build every time styles or components change

Dockerized Development

You need docker installed on your system: https://www.docker.com.

  1. Run npm run docker-init to build the initial image.
  2. Run npm run docker to start an Apache environment suited for Cockpit on port 8080 (this folder mapped to /var/www/html).

💐 Partners

ginetta
We create websites and apps that click with users.

BrowserStack
Live, Web-Based Browser Testing

💐 Sponsors

Backers on Open Collective Sponsors on Open Collective

Become a backer or sponsor through:

Thank you to all our backers! 🙏

Copyright and license

Copyright since 2015 Agentejo under the MIT license.

See LICENSE for more information.