Giter Club home page Giter Club logo

portfolio's Introduction

It's engine for portfolio of web-studio stfalcon.com

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/portfolio.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.2
  • 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 777 app/cache/ app/logs

c) Initialize and update Submodules

$ git submodule init
$ git submodule update

d) Install the Vendor Libraries

$ php 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 init:acl
$ ./console doctrine:fixtures:load

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

f) Enable ACL

$ ./console sonata:admin:setup-acl
$ ./console sonata:admin:generate-object-acl

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

$ ./console assets:install web

Installation with docker

$ cd portfolio
$ docker-compose build
$ docker-compose up

Portfolio: http://127.0.0.1:8080/ Phpmyadmin: http://127.0.0.1:8080/phpmyadmin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.