Skip to content

Latest commit

 

History

History
118 lines (77 loc) · 3.57 KB

README.md

File metadata and controls

118 lines (77 loc) · 3.57 KB

This app replaced by Gobel. github - bmf-san/Gobel

CircleCI

Rubel

Rubel is a 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 [email protected]:bmf-san/Rubel.git rubel

[Specified version] git clone -branch 1.0.0 [email protected]: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.