ridibooks / cms-bootstrap
RIDI CMS bootstrap project
Installs: 29
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 1
Open Issues: 3
Type:project
Requires
- illuminate/database: ^5.2
- ridibooks/cms-sdk: ^1.0.0
- silex/silex: ^2.0
- twig/twig: ^2.0.0
- vlucas/phpdotenv: ^2.4
Requires (Dev)
- robmorgan/phinx: ^0.8.1
This package is not auto-updated.
Last update: 2022-06-18 22:49:55 UTC
README
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.
-
Set an alias
admin.dev.ridi.com
for localhost. (For example, write it to /etc/hosts) -
Install packages and set default env.
make install
- Run CMS base services via docker-compose.
make cms-up
- Start example app.
make run
- 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
-
Open
http://admin.dev.ridi.com
-
Clean up after all.
make cms-down