This package is abandoned and no longer maintained. The author suggests using the ridibooks/cms package instead.

Ridibooks CMS Server Aplication

Maintainers

Details

github.com/ridibooks/cms

Source

Issues

Installs: 1 571

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 7

Forks: 3

Open Issues: 1

Type:project


README

Build Status

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.