213

GitHub - bmf-san/Rubel: Rubel - An open source cms built with Laravel, React.

 6 years ago
source link: https://github.com/bmf-san/Rubel
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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

Rubel

Rubel is a cms built with Laravel and React.

Features

  • Customizable
  • Documented

Requirements

  • Docker
  • composer
  • 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.

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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK