raffaelj / cockpit
Fork of Cockpit CMS v1
Requires
- php: ^8.0
- ext-json: *
- ext-mbstring: *
- claviska/simpleimage: ^3.7
- colinodell/json5: ^2.1
- erusev/parsedown: ^1.7.4
- erusev/parsedown-extra: ^0.8.1
- firebase/php-jwt: ^6.0
- ksubileau/color-thief-php: ^1.3
- league/flysystem: ^1.0
- maennchen/zipstream-php: ^0.5.2
- mongodb/mongodb: ^1.3
- phpmailer/phpmailer: ^6.0
README
Cockpit CMS v1 is not really maintained anymore, but I needed a stable release for usage with composer and PHP 8.0. So I decided to fork the project instead of sending pull requests.
Installation
composer create-project raffaelj/cockpit
# composer create-project raffaelj/cockpit --no-dev --ignore-platform-reqs
Build
composer update
# composer update --no-dev --ignore-platform-reqs
Old README
🚨 Cockpits next iteration development moved 🚨
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.
☝️☝️☝️
- Homepage: http://v1.getcockpit.com
- Twitter: @getcockpit
- Support Forum: https://discourse.getcockpit.com
Requirements
- PHP >= 8.0
- 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
- Download Cockpit and put the cockpit folder in the root of your web project
- Make sure that the /cockpit/storage folder and all its subfolders are writable
- Go to /cockpit/install via Browser
- 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
- Run
npm run build
- For one-time build of styles and components - 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.
- Run
npm run docker-init
to build the initial image. - Run
npm run docker
to start an Apache environment suited for Cockpit on port 8080 (this folder mapped to /var/www/html).
💐 Partners
We create websites and apps that click with users.
Live, Web-Based Browser Testing
💐 Sponsors
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.