1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-17 17:08:37 +00:00

Merge pull request #2338 from wallabag/install-2.1

Fix for 2.1 installation
This commit is contained in:
Thomas Citharel 2016-10-03 15:33:08 +02:00 committed by GitHub
commit 24add95e9e
12 changed files with 29 additions and 21 deletions

View file

@ -91,8 +91,8 @@ before_install:
- if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi; - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi;
script: script:
- travis_wait bash install.sh - travis_wait bash install_dev.sh
- ant prepare-$DB - ant prepare-$DB
- phpunit -v - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then phpunit -v ; fi;
- if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix src/ --verbose --dry-run ; fi; - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix src/ --verbose --dry-run ; fi;
- if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v ; fi; - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v ; fi;

View file

@ -56,6 +56,7 @@ Um wallabag selbst zu installieren, musst du die folgenden Kommandos ausführen:
cd wallabag cd wallabag
git checkout 2.1.0 git checkout 2.1.0
ASSETS=build ./install.sh ASSETS=build ./install.sh
php bin/console wallabag:install --env=prod
Um PHPs eingebauten Server zu starten und zu testen, ob alles korrekt installiert wurde, kannst du folgendes Kommando ausführen: Um PHPs eingebauten Server zu starten und zu testen, ob alles korrekt installiert wurde, kannst du folgendes Kommando ausführen:

View file

@ -8,6 +8,7 @@ Das neueste Release ist auf https://www.wallabag.org/pages/download-wallabag.htm
:: ::
rm -rf var/cache/*
git fetch origin git fetch origin
git fetch --tags git fetch --tags
git checkout 2.0.8 git checkout 2.0.8

View file

@ -11,6 +11,7 @@ Das neueste Release ist auf https://www.wallabag.org/pages/download-wallabag.htm
:: ::
rm -rf var/cache/*
git fetch origin git fetch origin
git fetch --tags git fetch --tags
git checkout 2.1.0 git checkout 2.1.0

View file

@ -55,6 +55,7 @@ To install wallabag itself, you must run the following commands:
cd wallabag cd wallabag
git checkout 2.1.0 git checkout 2.1.0
ASSETS=build ./install.sh ASSETS=build ./install.sh
php bin/console wallabag:install --env=prod
To start PHP's build-in server and test if everything did install correctly, you can do: To start PHP's build-in server and test if everything did install correctly, you can do:

View file

@ -8,6 +8,7 @@ The last release is published on https://www.wallabag.org/pages/download-wallaba
:: ::
rm -rf var/cache/*
git fetch origin git fetch origin
git fetch --tags git fetch --tags
git checkout 2.0.8 git checkout 2.0.8

View file

@ -11,6 +11,7 @@ The last release is published on https://www.wallabag.org/pages/download-wallaba
:: ::
rm -rf var/cache/*
git fetch origin git fetch origin
git fetch --tags git fetch --tags
git checkout 2.1.0 git checkout 2.1.0

View file

@ -53,6 +53,7 @@ Pour installer wallabag, vous devez exécuter ces commandes :
cd wallabag cd wallabag
git checkout 2.1.0 git checkout 2.1.0
ASSETS=build ./install.sh ASSETS=build ./install.sh
php bin/console wallabag:install --env=prod
Pour démarrer le serveur interne à php et vérifier que tout s'est installé correctement, vous pouvez exécuter : Pour démarrer le serveur interne à php et vérifier que tout s'est installé correctement, vous pouvez exécuter :

View file

@ -8,6 +8,7 @@ La dernière version de wallabag est publiée à cette adresse : https://www.wal
:: ::
rm -rf var/cache/*
git fetch origin git fetch origin
git fetch --tags git fetch --tags
git checkout 2.0.8 git checkout 2.0.8

View file

@ -11,6 +11,7 @@ La dernière version de wallabag est publiée à cette adresse : https://www.wal
:: ::
rm -rf var/cache/*
git fetch origin git fetch origin
git fetch --tags git fetch --tags
git checkout 2.1.0 git checkout 2.1.0

View file

@ -1,15 +1,13 @@
#! /usr/bin/env bash #! /usr/bin/env bash
if [[ $ASSETS == 'build' ]]; then echo " > Installing PHP dependencies through Composer..."
echo "Installing PHP dependencies through Composer..." composer install --no-interaction --no-progress --prefer-dist -o --no-dev
composer install --no-interaction --no-progress --prefer-dist -o
chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm
echo "Downloading librairies through npm..." echo " > Downloading librairies through npm..."
vendor/mouf/nodejs-installer/bin/local/npm install vendor/mouf/nodejs-installer/bin/local/npm install
echo "Concat, minify and installing assets..." echo " > Concat, minify and installing assets..."
node_modules/grunt/bin/grunt node_modules/grunt/bin/grunt
else
composer install --no-interaction --no-progress --prefer-dist -o echo " > Install finished"
fi

View file

@ -1,13 +1,14 @@
#! /usr/bin/env bash #! /usr/bin/env bash
echo "Installing PHP dependencies (including dev) through Composer..." echo " > Installing PHP dependencies (including dev) through Composer..."
composer install composer install -o --no-interaction --no-progress --prefer-dist
echo "Downloading librairies through npm..." if [[ $ASSETS == 'build' || $TRAVIS_BUILD_DIR == '' ]]; then
npm install echo " > Downloading librairies through npm..."
npm install
echo "Concat, minify and installing assets..." echo " > Concat, minify and installing assets..."
grunt grunt
fi
echo "Installing wallabag..." echo " > Install finished"
php bin/console wallabag:install