fliglio / app
Demo Application for Fliglio Framework
Installs: 41
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 8
Forks: 2
Open Issues: 0
Type:project
Requires
- php: >=5.3
- doctrine/annotations: 1.*
- doctrine/cache: 1.*
- fliglio/flfc: 2.1.*
- fliglio/http: 2.1.*
- fliglio/routing: 2.1.*
- fliglio/web: 2.1.*
- symfony/validator: 2.*
README
Install
application scaffolding
composer create-project fliglio/app --dev
docker
docker build -t benschw/fl .
docker run -t -d -p 80 benschw/fl
docker build -t dev/fliglio-app . && docker run -t -d -p 80:80 -v /home/ben/dev/fliglio-app/:/var/www/ --name fliglio-app dev/fliglio-app
docker build -t dev/fliglio-app . && docker kill fliglio-app && docker rm fliglio-app && docker run -t -d -p 80:80 -v /home/ben/dev/fliglio-app/:/var/www/ --name fliglio-app dev/fliglio-app
vhost-myapp
<VirtualHost *:80>
DocumentRoot "/var/www/my-app/web"
ServerName fl.local
<Directory "/var/www/my-app/web">
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} -f [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .+ - [L]
RewriteRule ^(.*)$ /app.php [L,QSA]
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Require all granted
Allow from all
</Directory>
</VirtualHost>
Try it out
curl http://fl.local/api/foo