Skip to content

SimonB407/admin-bro-dev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Admin-bro-dev

parcel watch ./src/frontend/app.jsx --out-dir ./src/frontend/assets/scripts --out-file app.bundle.js --no-hmr

This is a wrapper repo for the entire AdminBro core with a couple of plugins. If you are a developer and you want to work on the AdminBro infrastructure - this is the right repository.

Setting up

All AdminBro plugins are embedded as git submodules. To clone the entire repo with all the dependencies simply run:

git clone --recurse-submodules https://github.com/SoftwareBrothers/admin-bro-dev

After that enter the ./infrastructure directory and run docker:

cd infrastructure
docker-compose up

and this is it. Now you have the entire dev environment set up.

Note about the git

As mentioned before, this repo contains other repositories as git submodules. You can change their branches, modify the content and commit changes to them separately. Committing to this repo won't affect any submodule.

Note about yarn linking

Since we are using local versions of the packages (via git submodules) we have to inform npm/yarn about that. It is done via yarn link command (you can also use npm link). Take a look at the dockerfile to see how it's used if you want to do the same thing without the docker.

Documentation

Repo also contains documentation of the project. To regenerate it just run

yarn run docs

Documentation uses jsdoc along with the better-docs documentation template. Better-docs is included inside this repo as a submodule.

You can enter the better-docs folder and develop documentation with live reload

yarn install
cd better-docs
yarn install

DOCS=../admin-bro/src/**/*,../docs-src/**/*,../admin-bro-mongoose/**/*,../admin-bro-hapijs/**/*,../admin-bro-expressjs/**/*,../admin-bro-sequelizejs/**/* gulp

License

AdminBro is Copyright © 2019 SoftwareBrothers.co. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About SoftwareBrothers.co

We’re an open, friendly team that helps clients from all over the world to transform their businesses and create astonishing products.

  • We are available to hire.
  • If you want to work for us - check out the career page.

About

Development environment for admin-bro

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.2%
  • Dockerfile 40.8%