Skip to content

Latest commit

 

History

History
executable file
·
63 lines (37 loc) · 1.48 KB

README.md

File metadata and controls

executable file
·
63 lines (37 loc) · 1.48 KB

Obon

Requirements

-   PHP 7
-   ffmpeg

Installation

php composer.phar install
php app/console assets:install
php app/console doctrine:fixtures:load
php app/console server:run

Useful links

  1. Material Design Principles

  2. Material Design

  3. Home Page Template

  4. Sonata Admin

Installation

php composer.phar install
php bin/console cache:clear --env=prod
php bin/console assets:install

Useful commands

php composer.phar show --platform #show loaded extensions

Docker Commands

Login to container

sudo docker exec -i -t trhqistraining_hqri /bin/bash

Remove Everything docker has

docker kill $(docker ps -q); docker rm $(docker ps -a -q); docker rm $(docker ps -a -q); docker rmi $(docker images -q -f dangling=true); docker rmi $(docker images -q)

Create admin user

php bin/console fos:user:create admin [email protected] password
php bin/console fos:user:promote admin ROLE_ADMIN

Running Tests

docker-compose -f docker-compose.test.yml up

Super Info

Last executed command page '17'

Redis

https://medium.com/@petehouston/install-and-config-redis-on-mac-os-x-via-homebrew-eb8df9a4f298

nginx

https://blog.frd.mn/install-nginx-php-fpm-mysql-and-phpmyadmin-on-os-x-mavericks-using-homebrew/