2017 © Pedro Peláez
 

project bi-skel

A framework for rapid busness app development

image

rozdol/bi-skel

A framework for rapid busness app development

  • Thursday, July 5, 2018
  • by rozdol
  • Repository
  • 1 Watchers
  • 0 Stars
  • 28 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 13 Versions
  • 0 % Grown

The README.md

Business Integrator Skeleton

date.build : 2020.06.11_19.43.11, (*1)

About

A framework for rapid busness app development, (*2)

Installation

Install Composer

Composer in Linux

Required packages, (*3)

sudo apt-get update
sudo apt-get install curl php-cli php-mbstring git unzip
cd ~

Install Composer, (*4)

sudo mv composer.phar /usr/local/bin/composer

Composer in Mac

cd ~
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/
sudo chmod 755 /usr/local/bin/composer.phar
# for bash:
echo 'alias composer="php /usr/local/bin/composer.phar"' >> ~/.bash_profile
source ~/.bash_profile
# for zsh
echo 'alias composer="php /usr/local/bin/composer.phar"' >> ~/.zshrc
source ~/.zshrc
# finally
composer --version

Install skeleton

cd /var/www/

composer clearcache

composer create-project rozdol/bi-skel bi-framework dev-master

cp bi-framework/src/.env.example bi-framework/src/.env
  • edit src/.env, (*5)

  • Point your webserver to /var/www/bi-framework/public, (*6)

or, (*7)

cd /var/www/bi-framework/public
php -S localhost:8000

App is ready

Username: admin Password: Pass1234, (*8)

Click on Update System to update database, (*9)

Replace default src with your project

cd /var/www/

git clone https://rozdol:[password]@github.com/rozdol/bi-src-is.git

rm -r bi-framework/src/
ln -s $(pwd)/bi-src-is/ bi-framework/src

Develop App

cd bi-framework

git init
git add .
git commit -m 'initial'

Start develop app..., (*10)

Develop BI components, actions and app separately but in own workspace

composer remove rozdol/bi-root --no-scripts
composer remove rozdol/loans --no-scripts
composer remove rozdol/payroll --no-scripts
composer remove rozdol/bi --no-scripts
composer remove rozdol/bi-assets --no-scripts

composer require vlucas/phpdotenv --no-scripts
composer require phpoffice/phpword --no-scripts
composer require lukascivil/treewalker --no-scripts
composer require sendgrid/sendgrid --no-scripts
composer require usmanhalalit/pixie --no-scripts
composer require firebase/php-jwt --no-scripts

or change composer.json, (*11)

"require": {
    "vlucas/phpdotenv": "^2.5",
    "phpoffice/phpword": "^0.14.0",
    "lukascivil/treewalker": "^0.9.0",
    "sendgrid/sendgrid": "^7.0",
    "phpmyadmin/sql-parser": "^4.3",
    "mashape/unirest-php": "^3.0"
}

section "scripts" should be removed to avoid coposer delete and recreate default source code., (*12)

composer update --no-scripts

mkdir symlinks
cd symlinks

ln -s ../../components/bi/src/Bi/*.php ./
ln -s ../../components/bi/src/Utils/*.php ./
ln -s ../../components/loans/src/Loans/*.php ./
ln -s ../../components/payroll/src/Payroll/*.php ./

rm -Rf ./public/assets
cd ../public
ln -s ../../bi-assets ./assets
cd ..

rm -Rf ./bi
ln -s ../bi-root ./bi


rm -Rf src
rm -Rf .git
ln -s ../projects/bi-src-myproject ./src
composer dump

cd public
php -S localhost:8000

Maintain repositories separately and reassemble them via rozdol/bi-skel - rozdol/bi-skel - boilerplate for new projects - rozdol/bi - set of functions, helpers and classes - rozdol/bi-root - default set of actions, helpers and classes - rozdol/bi-assets - js, css, etc. - rozdol/loans - module to work with loans - rozdol/payroll - module to work with payrolls, (*13)

The Versions

05/07 2018

dev-master

9999999-dev

A framework for rapid busness app development

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Titoff

05/07 2018

v2.0.2

2.0.2.0

A framework for rapid busness app development

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Titoff

04/07 2018

v2.0.1

2.0.1.0

A framework for rapid busness app development

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Titoff

04/07 2018

v2.0.0

2.0.0.0

A framework for rapid busness app development

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Titoff