Skip to content

Latest commit

 

History

History
77 lines (57 loc) · 950 Bytes

File metadata and controls

77 lines (57 loc) · 950 Bytes

PHP BayLang project

BayLang is lowcode fullstack technology for development CRM and ERP system.

Clear PHP project

Create project

wget https://github.com/bayrell/project_php/archive/refs/heads/main.zip -O "project.zip"
unzip project.zip

Change folder

mv project_php-main project
cd project

Build docker container

Build test container

./build.sh test

Build prod container

./build.sh docker

Run container:

docker run -d -p 8000:80 -v ./src:/var/www/html --name app_project app/project:1.0

Compile project

Enter container:

docker exec -it app_project bash

Change folder

cd /var/www/html

Install composer

composer install

Compile project

baylang-php make_all

Install Assets

./console.php core:install

Watch changes

baylang-php watch

Stop container

If you want to stop container run:

docker stop app_project
docker rm app_project