ridibooks / cms
This package is abandoned and no longer maintained.
The author suggests using the ridibooks/cms package instead.
Ridibooks CMS Server Aplication
2.2.0
2018-08-31 02:26 UTC
Requires
- guzzlehttp/guzzle: ^6.3
- illuminate/database: ^5.2
- jguyomard/silex-capsule-eloquent: ^2.0
- monolog/monolog: ^1.23
- moriony/silex-sentry-provider: ~2.0.0
- ridibooks/cms-sdk: ~2.3.7
- sentry/sentry: ^1.6
- silex/silex: ^2.0
- thenetworg/oauth2-azure: dev-master#d7c25245b1d185a01b497318a094bfe128de786c
- twig/twig: ^2.0.0
- vlucas/phpdotenv: ^2.4
Requires (Dev)
- phpunit/phpunit: ^6.5
- robmorgan/phinx: ^0.10
This package is not auto-updated.
Last update: 2019-02-20 19:06:54 UTC
README
Overview
This is a main server of RIDI CMS service.
Getting Started
git clone https://github.com/ridi/cms.git cd cms make build # Build Docker image make up # Run services sleep 30s # (Wait for DB creating..) make db # Initialize DB schema sleep 3s # (Wait for DB schema changing..) make test # Run test open http://localhost make log # Watch docker-compose logs make down # Clean Docker resources
Build
You can get the following images as a result of the make build. See docker-compose.build.yml
- cms
- cms-builder
Manage DB schema
We use Phinx to manage DB schema.
# Create new DB migration. vendor/bin/phinx create NewMigrationName # Edit the skeleton file created in db/migrations vim db/migrations/20180123123456_new_migration_name.php # Apply the migration. vendor/bin/phinx migrate
Deployment
We use Travis CI to deploy. See .travis.yml
You needs to be careful when push tags or create a release.