forked from akeneo/pim-community-standard
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Antoine Guigan
committed
Sep 5, 2013
1 parent
377c5f4
commit cdef017
Showing
35 changed files
with
1,889 additions
and
3 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,11 @@ | ||
/web/bundles/ | ||
/app/bootstrap.php.cache | ||
/app/cache/* | ||
/app/config/parameters.yml | ||
/app/logs/* | ||
/build/ | ||
/vendor/ | ||
/bin/ | ||
/composer.phar | ||
/composer.lock | ||
/nbproject/private/ |
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,25 @@ | ||
Every PR should start with: | ||
|
||
``` | ||
Bug fix: [yes|no] | ||
Feature addition: [yes|no] | ||
Backwards compatibility break: [yes|no] | ||
Unit test passes: [yes|no] | ||
Behat scenarios passes: [yes|no] | ||
Checkstyle issues: [yes|no]* | ||
Documentation PR: [link to the documentation PR if there is one] | ||
Fixes the following jira: | ||
- ... | ||
``` | ||
|
||
PR with Platform upgrade: | ||
``` | ||
App | ||
[] Check configuration | ||
[] Check routing | ||
FilterBundle | ||
[] Check filter changes between pim-layout.js.twig and layout.js.twig | ||
``` | ||
|
||
*Use http://cs.sensiolabs.org/ |
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,7 @@ | ||
Akeneo PIM | ||
|
||
The Open Software License version 3.0 | ||
|
||
Copyright (c) 2013, Akeneo SAS. | ||
|
||
Full license is at: http://opensource.org/licenses/OSL-3.0 |
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 |
---|---|---|
@@ -1,4 +1,61 @@ | ||
pim-community-edition | ||
===================== | ||
Akeneo PIM Application | ||
======================== | ||
|
||
PIM community edition | ||
Welcome to Akeneo PIM. | ||
|
||
This document contains information on how to download, install, and start | ||
using Akeneo PIM. | ||
|
||
Important Note: this application is not production ready and is intendant for evaluation and development only! | ||
|
||
Requirements | ||
------------ | ||
|
||
Akeneo PIM requires Symfony 2, Doctrine 2 and PHP 5.3.3 or above. | ||
|
||
Installation instructions: | ||
------------------------- | ||
|
||
### Using Composer | ||
|
||
[As both Symfony 2 and Akeneo PIM use [Composer][2] to manage their dependencies, this is the recommended way to install Akeneo PIM.] | ||
|
||
If you don't have Composer yet, download it following the instructions on | ||
http://getcomposer.org/ or just run the following command: | ||
|
||
curl -s https://getcomposer.org/installer | php | ||
|
||
- Clone [email protected]:akeneo/pim.git Akeneo PIM project with | ||
|
||
git clone [email protected]:akeneo/pim.git | ||
|
||
- Go to app/config folder and create parameters.yml using parameters.yml.dist as example. Update database name and credentials | ||
- Install Akeneo PIM dependencies with composer. If installation process seems too slow you can use "--prefer-dist" option. | ||
|
||
php composer.phar install | ||
|
||
- Initialize application with install script : init-db.sh | ||
|
||
- Deploy assets : assets.sh | ||
|
||
After installation you can login as application administrator using user name "admin" and password "admin". | ||
|
||
Checking your System Configuration | ||
------------------------------------- | ||
|
||
Before starting to code, make sure that your local system is properly | ||
configured for a Symfony application. | ||
|
||
Execute the `check.php` script from the command line: | ||
|
||
php app/check.php | ||
|
||
Access the `config.php` script from a browser: | ||
|
||
http://your_domain/path/to/symfony/app/web/config.php | ||
|
||
If you get any warnings or recommendations, fix them before moving on. | ||
|
||
|
||
[1]: http://symfony.com/doc/2.1/book/installation.html | ||
[2]: http://getcomposer.org/ |
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,104 @@ | ||
<?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 Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), | ||
new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(), | ||
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), | ||
|
||
// BAP deps | ||
new JMS\AopBundle\JMSAopBundle(), | ||
new JMS\JobQueueBundle\JMSJobQueueBundle(), | ||
new JMS\SerializerBundle\JMSSerializerBundle($this), | ||
new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(), | ||
new FOS\JsRoutingBundle\FOSJsRoutingBundle(), | ||
new FOS\RestBundle\FOSRestBundle(), | ||
new Nelmio\ApiDocBundle\NelmioApiDocBundle(), | ||
new BeSimple\SoapBundle\BeSimpleSoapBundle(), | ||
new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(), | ||
new Knp\Bundle\MenuBundle\KnpMenuBundle(), | ||
new Escape\WSSEAuthenticationBundle\EscapeWSSEAuthenticationBundle(), | ||
new Liip\ImagineBundle\LiipImagineBundle(), | ||
new Bazinga\ExposeTranslationBundle\BazingaExposeTranslationBundle(), | ||
new APY\JsFormValidationBundle\APYJsFormValidationBundle(), | ||
new Genemu\Bundle\FormBundle\GenemuFormBundle(), | ||
|
||
// PIM deps | ||
new Knp\Bundle\GaufretteBundle\KnpGaufretteBundle(), | ||
|
||
// BAP bundles | ||
new Oro\Bundle\FlexibleEntityBundle\OroFlexibleEntityBundle(), | ||
new Oro\Bundle\UIBundle\OroUIBundle(), | ||
new Oro\Bundle\JsFormValidationBundle\OroJsFormValidationBundle(), | ||
new Oro\Bundle\SoapBundle\OroSoapBundle(), | ||
new Oro\Bundle\SearchBundle\OroSearchBundle(), | ||
new Oro\Bundle\UserBundle\OroUserBundle(), | ||
new Oro\Bundle\MeasureBundle\OroMeasureBundle(), | ||
new Oro\Bundle\SegmentationTreeBundle\OroSegmentationTreeBundle(), | ||
new Oro\Bundle\NavigationBundle\OroNavigationBundle(), | ||
new Oro\Bundle\ConfigBundle\OroConfigBundle(), | ||
new Oro\Bundle\FilterBundle\OroFilterBundle(), | ||
new Oro\Bundle\GridBundle\OroGridBundle(), | ||
new Oro\Bundle\WindowsBundle\OroWindowsBundle(), | ||
new Oro\Bundle\DataAuditBundle\OroDataAuditBundle(), | ||
new Oro\Bundle\FormBundle\OroFormBundle(), | ||
new Oro\Bundle\TagBundle\OroTagBundle(), | ||
new Oro\Bundle\AsseticBundle\OroAsseticBundle(), | ||
new Oro\Bundle\TranslationBundle\OroTranslationBundle(), | ||
new Oro\Bundle\OrganizationBundle\OroOrganizationBundle(), | ||
new Oro\Bundle\NotificationBundle\OroNotificationBundle($this), | ||
new Oro\Bundle\EmailBundle\OroEmailBundle(), | ||
new Oro\Bundle\EntityBundle\OroEntityBundle(), | ||
new Oro\Bundle\EntityConfigBundle\OroEntityConfigBundle(), | ||
new Oro\Bundle\EntityExtendBundle\OroEntityExtendBundle(), | ||
new Oro\Bundle\ImapBundle\OroImapBundle(), | ||
|
||
// BAP overrided bundles | ||
new Pim\Bundle\NavigationBundle\PimNavigationBundle(), | ||
new Pim\Bundle\FilterBundle\PimFilterBundle(), | ||
new Pim\Bundle\GridBundle\PimGridBundle(), | ||
new Pim\Bundle\UserBundle\PimUserBundle(), | ||
new Pim\Bundle\SearchBundle\PimSearchBundle(), | ||
|
||
// PIM bundles | ||
new Pim\Bundle\InstallerBundle\PimInstallerBundle(), | ||
new Pim\Bundle\UIBundle\PimUIBundle(), | ||
new Pim\Bundle\CatalogBundle\PimCatalogBundle(), | ||
new Pim\Bundle\TranslationBundle\PimTranslationBundle(), | ||
new Pim\Bundle\JsFormValidationBundle\PimJsFormValidationBundle(), | ||
new Pim\Bundle\BatchBundle\PimBatchBundle(), | ||
new Pim\Bundle\ImportExportBundle\PimImportExportBundle(), | ||
new Pim\Bundle\DemoBundle\PimDemoBundle(), | ||
new Pim\Bundle\VersioningBundle\PimVersioningBundle, | ||
); | ||
|
||
if (in_array($this->getEnvironment(), array('dev', 'test', 'behat'))) { | ||
$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'); | ||
|
||
if (is_file($file = __DIR__.'/config/config_'.$this->getEnvironment().'_local.yml')) { | ||
$loader->load($file); | ||
} | ||
} | ||
} |
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,13 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>{% block title %}Welcome!{% endblock %}</title> | ||
{% block stylesheets %}{% endblock %} | ||
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" /> | ||
</head> | ||
<body> | ||
{% block body %}{% endblock %} | ||
{% block javascripts %}{% endblock %} | ||
</body> | ||
</html> |
Oops, something went wrong.