Member-only story

Povilas Brilius
1 min readJan 1, 2021

--

Code igniter 4 lets you to publish ports directly using PHP built-in server — that’s the de facto. Clone my application to virtual hosts folder and apply the default server virtualization techniques:

git clone https://github.com/pbrilius/A6-analysis.git ci4
docker run \
-it \
--name dev-lamp \
-p 8080:8080/tcp \
-p 8024:80/tcp \
--mount type=bind,source=/var/www/vhosts/ci4,target=/srv/www/vhosts/ci4 \
veritus4/lamp-docker:ci4-set-exposure

It will show up in the target base and there you can demolish your enemies — or at least chemical state — shredding it to pieces.

cd ci4
php -S 0.0.0.0:8080 -t public/

The resulting page will surprise you in general —

A starter app page of a usual CI4 application

Of course, you can navigate to app pages listing the routed:

php spark routes

It will display the currently available routes on the run and will allow you, indicating the default ones, to know where to navigate surging this web app. Don’t get afraid of errors, it’s just the database manipulation, running the preset migrations, as said in the official README.md file.

Anyway, CI4 on virtualization looks beautiful. Like Consumer Economics looks beautiful surfing the web and listening to Jazz best of the year, it constitutes a demand of marriage and state default in case it didn’t collide issuing BsC and MsC diplomas — just in case, generally.

--

--

Povilas Brilius
Povilas Brilius

Written by Povilas Brilius

PHP Developer in e-commerce and e-loans industry fields.

No responses yet