Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

CMS v3

Requirements & Tools & Helpers

  • PHP > 5.6.2

  • Composer

    • Doctrine ORM/DBAL;
    • Swiftmailer;
    • Annotations enabled for everything. It comes pre-configured with the following bundles:
    • FrameworkBundle - The core Symfony framework bundle
    • [SensioFrameworkExtraBundle][6] - Adds several enhancements, including template and routing annotation capability
    • [DoctrineBundle][7] - Adds support for the Doctrine ORM
    • [TwigBundle][8] - Adds support for the Twig templating engine
    • [SecurityBundle][9] - Adds security by integrating Symfony's security component
    • [SwiftmailerBundle][10] - Adds support for Swiftmailer, a library for sending emails
    • [MonologBundle][11] - Adds support for Monolog, a logging library
    • [AsseticBundle][12] - Adds support for Assetic, an asset processing library
    • WebProfilerBundle (in dev/test env) - Adds profiling functionality and the web debug toolbar
    • SensioDistributionBundle (in dev/test env) - Adds functionality for configuring and working with Symfony distributions
    • [SensioGeneratorBundle][13] (in dev/test env) - Adds code generation capabilities

All libraries and bundles included in the Symfony Standard Edition are released under the MIT or BSD license.

Enjoy! [1]: http://symfony.com/doc/current/setup.html [7]: http://symfony.com/doc/current/doctrine.html [8]: http://symfony.com/doc/current/templating.html [9]: http://symfony.com/doc/current/security.html [10]: http://symfony.com/doc/current/email.html [11]: http://symfony.com/doc/current/logging.html [12]: http://symfony.com/doc/current/assetic/asset_management.html

Instalation

cd _init/vagrant_instalation_SF2.txt

Database

  • We use the Doctrine database
  • Navigate to your project directory: cd /var/www/bikesoup
  • Check the entities: php app/console doctrine:schema:validate
  • Update the database: php app/console doctrine:schema:update --force
  • Clear cache: php app/console doctrine:cache:clear-result

COMPILE CSS ANS JS

php app/console assetic:dump

FLUSH MEMCACHED FROM COMMAND

echo "flush_all" | nc -q 2 localhost 11211

Project Structure

  • _db => MySQL Database scripts / conversion / migrations files

  • _init => Vagrant paphent instalation

  • app

    • app/configs => all configuration files
    • app/Resources => Base view templates
    • **app/AppKernel.php => instalation new bundles
  • var

    • var/cache => temporary files / can be clear manually
    • var/logs => Base
    • var/sessions => Base
  • src => Here will be all the project classes.

    • src/Api => Api
    • src/App => Main Application source
    • src/App/Controller => actions
    • src/App/Command => tasks
    • src/App/DependencyInjection => injection routing, services Event Listners
    • src/App/Test => Here we have our tests
    • src/App/Entity => Our doctrine entities
    • src/App/Form => Forms
    • src/App/Menu => Menus frontend view
    • src/App/Repository => Our doctrine repositories
    • src/App/Resources =>
    • src/App/Resources/config =>
    • src/App/Resources/config/services.yml => SERVICE CONFIGURATION
    • src/App/Resources/config/routing
    • src/App/Resources/config/routing/frontend.yml ROUTING
    • src/App/Resources/views/ TEMPLATES
    • src/App/Resources/translations/ TRANSLATIONS
    • src/App/Resources/public/ JS CSS INSIDE BUNDLE
    • src/App/Services =>
    • src/App/Twig => view helpers
    • src/Backend => Backend
    • src/Web => Web Frontend Main VIEW
    • src/Web/WebBundle/Resources/View => main layout templates
      • base.html.twig Main base layout
      • layout.html.twig Main layout inherit by base
      • layout_bazaar.html.twig Main layout Bazaar inherit by layout
      • _right_bar.html.twig Right menu
      • _top_bar.html.twig top menu
      • _nav_bar.html.twig top sub menu
      • _footer.html.twig footer page
    • src/Web/StaticBundle/Resources/View => static pages view
  • bin => All scripts from vendor dependencies a.k.a. the vendor/bin folder

  • data => All data files

  • vendor => This is generated by composer for all the dependencies.

  • web => Our main public web folder (the root domain directory should point here) + here in we will have all of our public assets (js/css/images/...).

About

Startup project

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages