ESNFranceG33kTeam / sf_logoinserter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LogoInserter

Install

Local Install

git clone git@github.com:ESNFranceG33kTeam/sf_logoinserter.git

or

git clone https://github.com/ESNFranceG33kTeam/sf_logoinserter.git

Installez composer :

curl -sS https://getcomposer.org/installer | php

install all vendors

php composer.phar install

create directories

mkdir -p web/uploads/sections web/uploads/downloadsessions web/uploads/public

on Mac

HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\  -f1`
sudo chmod +a "$HTTPDUSER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs web/uploads/sections web/uploads/downloadsessions web/uploads/public
sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs  web/uploads/sections web/uploads/downloadsessions web/uploads/public

on Linux

HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\  -f1`
sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX app/cache app/logs web/uploads/sections web/uploads/downloadsessions web/uploads/public
sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX app/cache app/logs web/uploads/sections web/uploads/downloadsessions web/uploads/public

Deploy assets

php app/console assets:install

Update your database

php app/console doctrine:migrations:migrate

Import sections from file

php app/console esn:section:import

About

License:MIT License


Languages

Language:PHP 66.2%Language:JavaScript 15.7%Language:HTML 9.9%Language:CSS 6.2%Language:Ruby 2.1%