Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vslinko/silex-skeleton
https://github.com/vslinko/silex-skeleton
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vslinko/silex-skeleton
- Owner: vslinko
- License: mit
- Created: 2012-06-21T14:06:24.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-06-23T12:29:11.000Z (over 12 years ago)
- Last Synced: 2024-09-21T00:32:47.513Z (about 2 months ago)
- Language: Ruby
- Size: 96.7 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Silex skeleton
## Installation
### Install composer
curl -s http://getcomposer.org/installer | php
### Install silex skeleton
composer.phar create-project rithis/silex-skeleton
## Server configuration
### Apache
DocumentRoot /var/www/project-name/current
ServerName project-name.localhostRewriteEngine on
RewriteCond %{DOCUMENT_ROOT}/web%{REQUEST_URI} !-f
RewriteRule ^ /app/index.php [L]
RewriteRule (.*) /web$1
### nginx
server {
server_name project-name.localhost;
root /var/www/project-name/current;location / {
try_files /web$uri @fallback;
}location @fallback {
fastcgi_pass unix:/var/run/php5-fpm.sock;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/app/index.php;
}
}