Skip to content

c2is/sfinstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symfony installer

Usage

sfinstall [subdirectory]

Description

Installe Symfony et optionnellement un environnement docker

L'installation de Symfony fournit :

  • un .gitignore adapté,
  • un parameters.yml prêt à l'emploi avec docker,
  • les fichiers *-at-preprod *-at-prod utilisés chez Acti.

L'environnement docker fournit :

  • apache, php-fpm, mysql...
  • un certificat ssl valide pour les domaines types *.dev.acti,
  • un service mail utilisable en smtp ou directemnt via sendmail dans le container php.

Le composer est un container sans démon, il s'utilise donc ainsi :

dc run composer composer --working-dir=/var/www/website

Bien mettre les commandes composer avant --working-dir, par exemple :
`sh dc run composer composer require google/apiclient:^2.0 --working-dir=/var/www/website


## Installation

#### Linux/Bsd
```sh
curl -skL https://raw.githubusercontent.com/c2is/sfinstall/master/sfinstall.sh --output /usr/local/bin/sfinstall; chmod +x /usr/local/bin/sfinstall;

Ubuntu

sudo curl -skL https://raw.githubusercontent.com/c2is/sfinstall/master/sfinstall.sh --output /usr/local/bin/sfinstall; sudo chmod +x /usr/local/bin/sfinstall;

Windows Mingw

mkdir ~/bin/; curl -skL https://raw.githubusercontent.com/c2is/sfinstall/master/sfinstall.sh --output ~/bin/sfinstall; chmod +x ~/bin/sfinstall;

Update

Linux/Bsd

curl -skL https://raw.githubusercontent.com/c2is/sfinstall/master/sfinstall.sh --output /usr/local/bin/sfinstall;

Ubuntu

sudo curl -skL https://raw.githubusercontent.com/c2is/sfinstall/master/sfinstall.sh --output /usr/local/bin/sfinstall;

Windows Mingw

curl -skL https://raw.githubusercontent.com/c2is/sfinstall/master/sfinstall.sh --output ~/bin/sfinstall;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published