Fundamentals Get Starting - yamsuz/damix GitHub Wiki
Get Starting
Prerequisites
You need to install a web server like Apache, Nginx, ISS, etc and Php 8.2 minimum.
My Hello World
Download the framework and deploy it in the folder of your choice, we name it ROOT
Php need to acess from your folder ROOT, don't forget your environnement variable.
In console mode (Windows, Linux), open your folder ROOT and run the script :
php damix\script\damix.php -a myhelloworld -e appcreate
This action will create an application in ROOT\apps\myhelloworld.
You need setting your web server in order the DocumentRoot is your folder ROOT\apps\myhelloworld\www
For exemple, a setting for apache
Alias /damix "ROOT\apps\myhelloworld\www"
<Directory "ROOT\apps\myhelloworld\www">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride all
Require local
</Directory>