Skip to content
A skeleton project to create RIDI CMS service with PHP
PHP HTML Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cms @ 616eb39
src
view
web
.env
.gitignore
.gitmodules
.htaccess
Makefile
README.md
composer.json
composer.lock
docker-compose.yml
phinx.yml

README.md

CMS-Bootstrap

Packagist

Overview

This is the skeleton project of RIDI CMS service. You can use this for your new applications.

Install

Use Composer to create of a new project.

composer create-project ridibooks/cms-bootstrap path/to/your/project

Run with Docker Compose

You can make up local dev environment using Docker Compose. Follow the steps below.

  1. Set an alias admin.dev.ridi.com for localhost. (For example, write it to /etc/hosts)

  2. Install packages and set default env.

make install
  1. Run CMS base services via docker-compose.
make cms-up
  1. Start example app.
make run
  1. Set Database.
  • If you use docker-compose, run phinx to create initial db.
  • It can fail immediately after the DB is started. Try again in a few seconds.
make cms-db
  • or to use exiting one, write the db endpoint on cms-docker-compose/docker/cms/.env
MYSQL_HOST=yourhost
MYSQL_USER=yourid
MYSQL_PASSWORD=yourpassword
MYSQL_DATABASE=yourdb
  1. Open http://admin.dev.ridi.com

  2. Clean up after all.

make cms-down
You can’t perform that action at this time.