Permalink
Browse files

added readme

  • Loading branch information...
1 parent 220c3d2 commit 2349b60c370901dec6e7bf392fb53b02bf66d1c3 @l3pp4rd committed Jan 2, 2012
View
@@ -6,6 +6,7 @@ app/bootstrap.php.cache
app/cache/*
app/logs/*
app/config/*.local.yml
+app/config/parameters.yml
app/phpunit.xml
build/
vendor/
View
@@ -1,4 +1,6 @@
-Copyright (c) 2004-2011 Fabien Potencier
+Copyright (c) 2012 Gediminas Morkevičius
+
+The MIT license, reference http://www.opensource.org/licenses/mit-license.php
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
View
155 README.md
@@ -1,148 +1,37 @@
-Symfony Standard Edition
-========================
+# http://gediminasm.org blog
-Welcome to the Symfony Standard Edition - a fully-functional Symfony2
-application that you can use as the skeleton for your new app. If you want
-to learn more about the features included, see the "What's Inside?" section.
+This blog is built on Symfony2 using [symfony-standard edition][symfony_standard]. The purpose
+of this product being as open source blog, is that people could see how the
+[demo][gedmo_demo] of [gedmo extensions][gedmo_extensions] is made and
+could reuse it or have a basic understanding on how to use it in any project.
-This document contains information on how to download and start using Symfony.
-For a more detailed explanation, see the
-[Installation chapter](http://symfony.com/doc/current/book/installation.html)
-of the Symfony Documentation.
+[gedmo_extensions]: https://github.com/l3pp4rd/DoctrineExtensions "Gedmo behavioral doctrine2 extensions"
+[gedmo_demo]: http://gediminasm.org/test "Test extensions on this blog"
+[symfony_standard]: http://gediminasm.org/test "Symfony2 standard edition"
-1) Download the Standard Edition
---------------------------------
-
-If you've already downloaded the standard edition, and unpacked it somewhere
-within your web root directory, then move on to the "Installation" section.
-
-To download the standard edition, you have two options:
-
-### Download an archive file (*recommended*)
-
-The easiest way to get started is to download an archive of the standard edition
-(http://symfony.com/download). Unpack it somewhere under your web server root
-directory and you're done. The web root is wherever your web server (e.g. Apache)
-looks when you access `http://localhost` in a browser.
-
-### Clone the git Repository
-
-We highly recommend that you download the packaged version of this distribution.
-But if you still want to use Git, you are on your own.
+## Setup
Run the following commands:
- git clone http://github.com/symfony/symfony-standard.git
- cd symfony-standard
+ git clone http://github.com/l3pp4rd/gediminasm.org.git blog
+ cd blog
rm -rf .git
+ mkdir app/cache app/logs
+ cp app/config/parameters.yml.dist app/config/parameters.yml
-2) Installation
----------------
-
-Once you've downloaded the standard edition, installation is easy, and basically
-involves making sure your system is ready for Symfony.
-
-### a) Check your System Configuration
+Configure your database connection settings in: **app/config/parameters.yml**
-Before you begin, make sure that your local system is properly configured
-for Symfony. To do this, execute the following:
-
- php app/check.php
-
-If you get any warnings or recommendations, fix these now before moving on.
-
-### b) Install the Vendor Libraries
-
-If you downloaded the archive "without vendors" or installed via git, then
-you need to download all of the necessary vendor libraries. If you're not
-sure if you need to do this, check to see if you have a ``vendor/`` directory.
-If you don't, or if that directory is empty, run the following:
+Proceed with installation:
php bin/vendors install
+ php app/console assetic:dump -e dev
+ php app/console gedmo:blog:update
+ php app/console gedmo:demo:reload
-Note that you **must** have git installed and be able to execute the `git`
-command to execute this script. If you don't have git available, either install
-it or download Symfony with the vendor libraries already included.
-
-### c) Access the Application via the Browser
-
-Congratulations! You're now ready to use Symfony. If you've unzipped Symfony
-in the web root of your computer, then you should be able to access the
-web version of the Symfony requirements check via:
-
- http://localhost/Symfony/web/config.php
-
-If everything looks good, click the "Bypass configuration and go to the Welcome page"
-link to load up your first Symfony page.
-
-You can also use a web-based configurator by clicking on the "Configure your
-Symfony Application online" link of the ``config.php`` page.
-
-To see a real-live Symfony page in action, access the following page:
-
- web/app_dev.php/demo/hello/Fabien
-
-3) Learn about Symfony!
------------------------
-
-This distribution is meant to be the starting point for your application,
-but it also contains some sample code that you can learn from and play with.
-
-A great way to start learning Symfony is via the [Quick Tour](http://symfony.com/doc/current/quick_tour/the_big_picture.html),
-which will take you through all the basic features of Symfony2 and the test
-pages that are available in the standard edition.
-
-Once you're feeling good, you can move onto reading the official
-[Symfony2 book](http://symfony.com/doc/current/).
-
-Using this Edition as the Base of your Application
---------------------------------------------------
-
-Since the standard edition is fully-configured and comes with some examples,
-you'll need to make a few changes before using it to build your application.
-
-The distribution is configured with the following defaults:
-
-* Twig is the only configured template engine;
-* Doctrine ORM/DBAL is configured;
-* Swiftmailer is configured;
-* Annotations for everything are enabled.
-
-A default bundle, ``AcmeDemoBundle``, shows you Symfony2 in action. After
-playing with it, you can remove it by following these steps:
-
-* delete the ``src/Acme`` directory;
-* remove the routing entries referencing AcmeBundle in ``app/config/routing_dev.yml``;
-* remove the AcmeBundle from the registered bundles in ``app/AppKernel.php``;
+Now when you visit **/app_dev.php/demo** you should see extension demo page
+## Optional
-What's inside?
----------------
-The Symfony Standard Edition comes pre-configured with the following bundles:
-
-* **FrameworkBundle** - The core Symfony framework bundle
-* **SensioFrameworkExtraBundle** - Adds several enhancements, including template
- and routing annotation capability ([documentation](http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html))
-* **DoctrineBundle** - Adds support for the Doctrine ORM
- ([documentation](http://symfony.com/doc/current/book/doctrine.html))
-* **TwigBundle** - Adds support for the Twig templating engine
- ([documentation](http://symfony.com/doc/current/book/templating.html))
-* **SecurityBundle** - Adds security by integrating Symfony's security component
- ([documentation](http://symfony.com/doc/current/book/security.html))
-* **SwiftmailerBundle** - Adds support for Swiftmailer, a library for sending emails
- ([documentation](http://symfony.com/doc/2.0/cookbook/email.html))
-* **MonologBundle** - Adds support for Monolog, a logging library
- ([documentation](http://symfony.com/doc/2.0/cookbook/logging/monolog.html))
-* **AsseticBundle** - Adds support for Assetic, an asset processing library
- ([documentation](http://symfony.com/doc/2.0/cookbook/assetic/asset_management.html))
-* **JMSSecurityExtraBundle** - Allows security to be added via annotations
- ([documentation](http://symfony.com/doc/current/bundles/JMSSecurityExtraBundle/index.html))
-* **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** (in dev/test env) - Adds code generation capabilities
- ([documentation](http://symfony.com/doc/current/bundles/SensioGeneratorBundle/index.html))
-* **AcmeDemoBundle** (in dev/test env) - A demo bundle with some example code
+To override default configuration options use:
-Enjoy!
+ cp app/config/config_dev.yml app/config/config_dev.local.yml
@@ -1,7 +1,7 @@
{% extends "GedmoBlogBundle::layout.html.twig" %}
{% block title %}About Author{% endblock %}
-{% block description %}Gediminas Morkevicius {% endblock %}
+{% block description %}Gediminas Morkevičius {% endblock %}
{% block content %}
<h1>About Me</h1>
@@ -9,9 +9,9 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<![endif]-->
- <meta name="copyright" content="Gediminas Morkevicius" />
+ <meta name="copyright" content="Gediminas Morkevičius" />
<meta name="author" content="gediminas.morkevicius@gmail.com" />
- <meta name="publisher" content="Gediminas Morkevicius" />
+ <meta name="publisher" content="Gediminas Morkevičius" />
<meta name="description" content="{% block description %}{% endblock %} open source targeting blog" />
<meta name="keywords" content="blog, gediminas, morkevicius, php5, doctrine2, behavioral extensions, open source, orm" />
@@ -35,7 +35,7 @@
<div class="topbar">
<div class="fill">
<div class="container">
- <a class="brand" href="/">Gediminas Morkevicius blog</a>
+ <a class="brand" href="/">Gediminas Morkevičius blog</a>
{{ knp_menu_render('GedmoBlogBundle:Builder:mainMenu', {'currentClass': 'active'}) }}
</div>
</div>
@@ -45,7 +45,7 @@
{% block content %}{% endblock %}
<footer>
- <p>&copy; 2010-2012 Gediminas Morkevicius, <strong>powered by</strong>: <a href="http://twitter.github.com/bootstrap">twitter bootstrap</a>, <a href="http://symfony.com">Symfony2</a>, <a href="http://www.doctrine-project.org/">Doctrine2</a> <a href="http://alexgorbatchev.com/SyntaxHighlighter/">SyntaxHighlighter3.0</a> PHP-5.3</p>
+ <p>&copy; 2010-2012 Gediminas Morkevičius, <strong>powered by</strong>: <a href="http://twitter.github.com/bootstrap">twitter bootstrap</a>, <a href="http://symfony.com">Symfony2</a>, <a href="http://www.doctrine-project.org/">Doctrine2</a> <a href="http://alexgorbatchev.com/SyntaxHighlighter/">SyntaxHighlighter3.0</a> PHP-5.3</p>
</footer>
</div>

0 comments on commit 2349b60

Please sign in to comment.