Rubel - An open source cms built with Laravel and React.
Clone or download
Latest commit 8f1052f Sep 3, 2018
Permalink
Failed to load latest commit information.
.circleci [fix] Aug 27, 2018
.github Update issue templates Jun 4, 2018
docker [update] Aug 23, 2018
src [update] Sep 3, 2018
.coveralls.yml [udpate] codacy coverage Aug 13, 2018
.editorconfig [update] Jan 24, 2017
.gitattributes [add] Install Laravel5.3 Dec 6, 2016
.gitignore [update] All has been implemented Jul 26, 2018
LICENSE.md Create LICENSE.md Jun 16, 2017
README.md [fix] readme Aug 27, 2018
docker-compose.yml [update] Aug 23, 2018

README.md

CircleCI Codacy Badge

Rubel

Rubel - An Open Source CMS built with Laravel and React.

Features

  • Free
  • Customizable
  • Documented

DEMO

Requirements

  • Docker
  • PHP7
  • composer
  • npm
  • Node.js
  • Docker

Get Started

Installation

[Latest] git clone git@github.com:bmf-san/Rubel.git rubel

[Specified version] git clone -branch 1.0.0 git@github.com:bmf-san/Rubel.git rubel

Setting

Create a env file

cd src/core-app/
cp .env.example .env

Setup the docker-compose

docker-compose build
docker-compose up -d

Setup the core-app

docker exec -it rubel_php /bin/sh -c "cd core-app/ && composer install"
docker exec -it rubel_php /bin/sh -c "cd core-app/ && php artisan key:generate"
docker exec -it rubel_php /bin/sh -c "cd core-app/ && php artisan migrate && php artisan db:seed"
docker exec -it rubel_php /bin/sh -c "cd core-app/ && composer test"

Setup the client-app

docker exec -it rubel_php /bin/sh -c "cd client-app/packages/bmftech && composer install"
docker exec -it rubel_php /bin/sh -c "cd client-app/packages/bmftech && npm cache verify && npm install && npm run build"
docker exec -it rubel_php /bin/sh -c "cd core-app/ && php artisan vendor:publish --tag="bmftech-public""
docker exec -it rubel_php /bin/sh -c "cd core-app/ && php artisan vendor:publish --tag="bmftech-views""
docker exec -it rubel_php /bin/sh -c "cd client-app/packages/bmftech && composer test"

Setup the admin-app

docker exec -it rubel_php /bin/sh -c "cd admin-app/ && npm cache verify && npm install && npm run build"

Add hosts settings to /etc/hosts

127.0.0.1 rubel
127.0.0.1 admin.rubel
127.0.0.1 api.rubel

If you want to use vagrant, you can be able to use bmf-san/vagrant-for-rubel.

URL

App URL
Front http://rubel/
API http://api.rubel/
Adimin http://admin.rubel/

Artisan commands

Command Detail
make:repository {modelName : The name of the model} Create repository files.
app:init Interactively initialize the application.

Documentation

Contributing

We welcome your issue or pull request from everyone. Please check ISSUE_TEMPLATE.md and PULL_REQUEST_TEMPLATE.md to contribute.

If you want to find something to contibute, please check the project.

License

This project is licensed under the terms of the MIT license.

Author

bmf - A Web Developer in Japan.