-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
62 changed files
with
13,638 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/bin | ||
.idea/ | ||
/nbproject | ||
/build/ | ||
build.xml | ||
/doc/ | ||
/app/cache/* | ||
/app/logs/* | ||
/app/tmp | ||
/web/bundles | ||
/web/css | ||
/web/js | ||
.settings/* | ||
.buildpath | ||
.project | ||
/*.tmproj | ||
cscope.out | ||
/vendor/* | ||
app/*.cache | ||
app/phpunit.xml | ||
test/phpunit.xml | ||
tests/*Bundle* | ||
/gitflow | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
language: php | ||
|
||
php: | ||
- 5.3.3 | ||
- 5.3 | ||
- 5.4 | ||
|
||
before_script: composer install -n | ||
|
||
script: phpunit -c app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
deny from all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
require_once __DIR__.'/AppKernel.php'; | ||
|
||
use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache; | ||
|
||
class AppCache extends HttpCache | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
|
||
use Symfony\Component\HttpKernel\Kernel; | ||
use Symfony\Component\Config\Loader\LoaderInterface; | ||
|
||
class AppKernel extends Kernel | ||
{ | ||
public function registerBundles() | ||
{ | ||
$bundles = array( | ||
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), | ||
new Symfony\Bundle\SecurityBundle\SecurityBundle(), | ||
new Symfony\Bundle\TwigBundle\TwigBundle(), | ||
new Symfony\Bundle\MonologBundle\MonologBundle(), | ||
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(), | ||
new Symfony\Bundle\AsseticBundle\AsseticBundle(), | ||
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), | ||
new VFE\MyTownBundle\VFEMyTownBundle(), | ||
new Snc\RedisBundle\SncRedisBundle() | ||
); | ||
|
||
if (in_array($this->getEnvironment(), array('dev', 'test'))) { | ||
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); | ||
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle(); | ||
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle(); | ||
} | ||
|
||
return $bundles; | ||
} | ||
|
||
public function registerContainerConfiguration(LoaderInterface $loader) | ||
{ | ||
$loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml'); | ||
} | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html ng-app> | ||
{#<html ng-app="demoapp">#} | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>{% block title %}My Town!{% endblock %}</title> | ||
{% block stylesheets %}{% endblock %} | ||
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" /> | ||
<script src="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.js"></script> | ||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | ||
{#'bundles/vfemytown/js/angular-leaflet-directive.min.js'#} | ||
{% javascripts filter='?yui_js' output='js/*.js' | ||
'bundles/vfemytown/js/angular.min.js' | ||
'bundles/vfemytown/bootstrap/js/bootstrap.min.js' | ||
%} | ||
<script src="{{ asset_url }}"></script> | ||
{% endjavascripts %} | ||
</head> | ||
<body> | ||
{% block body %}{% endblock %} | ||
{% block javascripts %}{% endblock %} | ||
</body> | ||
</html> |
Oops, something went wrong.