Powered by Symfony2. Site for conference "Frameworks Days"
PHP HTML CSS Gherkin JavaScript Shell Other
Latest commit f03e9bf Jun 1, 2017 @fre5h fre5h committed on GitHub Merge pull request #298 from AndrewTomMet/34512-change-referral-link
34512 change referral link
Permalink
Failed to load latest commit information.
app
bin
docker-files
src
web Merge pull request #250 from bolotyuh/feature-update-symfony Jun 3, 2016
.gitignore Update symfony from 2.2 to 2.8 May 26, 2016
.travis.yml
Capfile updated Capfile Mar 17, 2014
Dockerfile Add docker Feb 8, 2017
LICENSE first commit. added sources from symfony-standart Aug 5, 2011
README.md Add docker Feb 8, 2017
app_test.php
behat.yml
build.xml Update build.xml Nov 5, 2012
catalog.xml refactored layouts Aug 8, 2011
composer.json Add mandrill bundle Dec 27, 2016
composer.lock
console
docker-compose.yml
fig.yml rm sudo Sep 19, 2014
run-selenium.sh
staginator.yml add conf for staginator May 17, 2016

README.md

It's engine for site of conference Frameworks Days

Build Status

  1. Download

Clone the git Repository from the main repository or fork it to your github account:

Note that you must have git installed and be able to execute the git command.

$ git clone git://github.com/stfalcon/fwdays.git .
  1. Installation

a) Check your System Configuration

Before you begin, make sure that your local system is properly configured for Symfony2. To do this, execute the following:

$ ./app/check.php

If you get any warnings or recommendations, fix these now before moving on.

Requirements

  • PHP needs to be a minimum version of PHP 5.3.3
  • Sqlite3 needs to be enabled
  • JSON needs to be enabled
  • ctype needs to be enabled
  • Your PHP.ini needs to have the date.timezone setting
  • Intl needs to be installed with ICU 4+
  • APC 3.0.17+ (or another opcode cache needs to be installed)

b) Change the permissions of the "app/cache/" and "app/logs" directories so that the web server can write into it.

$ chmod 0777 app/cache/ app/logs

c) Install Composer

$ curl -s https://getcomposer.org/installer | php

d) Install the Vendor Libraries

$ ./composer.phar install

e) Change DBAL settings, create DB, update it and load fixtures

Change DBAL setting in app/config/config.yml, app/config/config_dev.yml or app/config/config_test.yml. After that execute the following:

$ ./console doctrine:database:create
$ ./console doctrine:migrations:migrate
$ ./console doctrine:fixtures:load

You can set environment test for command if you add --env=test to it.

f) Install Assets (if they hadn't been installed in e step or if you want to update them )

$ ./console assets:install web --symlink

Setup dev-env via docker and fig

  1. Install docker and fig

    $ sudo wget https://get.docker.io/builds/Linux/x86_64/docker-latest -O /usr/local/bin/docker
    $ sudo chmod a+x /usr/local/bin/docker

Then add "/usr/local/bin/docker -d -G your_username" to /etc/rc.local and start docker daemon

    $ sudo wget https://github.com/docker/fig/releases/download/0.5.2/linux -O /usr/local/bin/fig
    $ sudo chmod a+x /usr/local/bin/fig
  1. Running containers

Clone git repository:

    $ git clone git://github.com/stfalcon/fwdays.git .
    $ cd fwdays && docker-compose build

After it run:

    $ docker-compose up

It's installs vendors and setup database. After it you can open http://127.0.0.1:8888 with running web app

  1. Some notes about configuration and usage:

Web app url: http://127.0.0.1:8888

Phpmyadmin: http://127.0.0.1:8888/phpmyadmin/ (user: root, password: qwerty) container access: $ docker exec -ti fwdays_fwdays_1 /bin/bash