diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-08 15:20:06 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-08 15:20:06 +0100 |
commit | 527e32add1513cc35fecfc340943407e799026ca (patch) | |
tree | bf0005c12b584d3d7a86cf91e029f737b971c486 /virtual/packages/connexionswing.nix | |
parent | d252d718e9d42fb3a13d64e5b8daa37ca9264211 (diff) | |
download | Nix-527e32add1513cc35fecfc340943407e799026ca.tar.gz Nix-527e32add1513cc35fecfc340943407e799026ca.tar.zst Nix-527e32add1513cc35fecfc340943407e799026ca.zip |
Add connexionswing production
Diffstat (limited to 'virtual/packages/connexionswing.nix')
-rw-r--r-- | virtual/packages/connexionswing.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/virtual/packages/connexionswing.nix b/virtual/packages/connexionswing.nix index 199c893..1f3f2d5 100644 --- a/virtual/packages/connexionswing.nix +++ b/virtual/packages/connexionswing.nix | |||
@@ -121,6 +121,8 @@ let | |||
121 | 121 | ||
122 | </Directory> | 122 | </Directory> |
123 | '' else '' | 123 | '' else '' |
124 | Use Stats connexionswing.com | ||
125 | |||
124 | <Directory ${webRoot}> | 126 | <Directory ${webRoot}> |
125 | Options Indexes FollowSymLinks MultiViews Includes | 127 | Options Indexes FollowSymLinks MultiViews Includes |
126 | AllowOverride All | 128 | AllowOverride All |
@@ -158,6 +160,7 @@ let | |||
158 | 160 | ||
159 | ln -sf ../../../../../${varDir}/{medias,uploads} web/images/ | 161 | ln -sf ../../../../../${varDir}/{medias,uploads} web/images/ |
160 | ln -sf ${configRoot} app/config/parameters.yml | 162 | ln -sf ${configRoot} app/config/parameters.yml |
163 | sed -i -e "/Incenteev..ParameterHandler..ScriptHandler::buildParameters/d" composer.json | ||
161 | ${if environment == "dev" then "php bin/composer install" else '' | 164 | ${if environment == "dev" then "php bin/composer install" else '' |
162 | SYMFONY_ENV=prod php bin/composer install --no-dev | 165 | SYMFONY_ENV=prod php bin/composer install --no-dev |
163 | ./bin/console assetic:dump --env=prod --no-debug | 166 | ./bin/console assetic:dump --env=prod --no-debug |