mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 19:11:07 +00:00
Update doc
Merge VALIDATE_TRANSLATION_FILE & ASSET build (less build on Travis)
This commit is contained in:
parent
ca8f9bdc15
commit
f440e28281
9 changed files with 11 additions and 13 deletions
|
@ -61,9 +61,7 @@ matrix:
|
||||||
group: edge
|
group: edge
|
||||||
env: DB=sqlite
|
env: DB=sqlite
|
||||||
- php: 7.0
|
- php: 7.0
|
||||||
env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run DB=sqlite
|
env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run ASSETS=build DB=sqlite
|
||||||
- php: 7.0
|
|
||||||
env: DB=sqlite ASSETS=build
|
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: hhvm-3.12
|
- php: hhvm-3.12
|
||||||
- php: 7.1
|
- php: 7.1
|
||||||
|
@ -94,7 +92,7 @@ before_install:
|
||||||
script:
|
script:
|
||||||
- travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist
|
- travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist
|
||||||
- ant prepare-$DB
|
- ant prepare-$DB
|
||||||
- if [[ $VALIDATE_TRANSLATION_FILE = '' || $ASSETS = '' ]]; then phpunit -v ; fi;
|
- 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;
|
||||||
- if [[ $ASSETS = build ]]; then ./node_modules/grunt-cli/bin/grunt; fi;
|
- if [[ $ASSETS = build ]]; then ./node_modules/grunt-cli/bin/grunt; fi;
|
||||||
|
|
|
@ -17,7 +17,7 @@ Then you can install wallabag by executing the following commands:
|
||||||
git clone https://github.com/wallabag/wallabag.git
|
git clone https://github.com/wallabag/wallabag.git
|
||||||
cd wallabag
|
cd wallabag
|
||||||
git checkout 2.1.0
|
git checkout 2.1.0
|
||||||
ASSETS=build ./install.sh
|
SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
|
||||||
php bin/console server:run --env=prod
|
php bin/console server:run --env=prod
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -5,4 +5,4 @@ parameters:
|
||||||
test_database_name: ~
|
test_database_name: ~
|
||||||
test_database_user: ~
|
test_database_user: ~
|
||||||
test_database_password: ~
|
test_database_password: ~
|
||||||
test_database_path: "%kernel.root_dir%/../data/db/wallabag_testHU.sqlite"
|
test_database_path: "%kernel.root_dir%/../data/db/wallabag_test.sqlite"
|
||||||
|
|
|
@ -55,7 +55,7 @@ Um wallabag selbst zu installieren, musst du die folgenden Kommandos ausführen:
|
||||||
git clone https://github.com/wallabag/wallabag.git
|
git clone https://github.com/wallabag/wallabag.git
|
||||||
cd wallabag
|
cd wallabag
|
||||||
git checkout 2.1.0
|
git checkout 2.1.0
|
||||||
ASSETS=build ./install.sh
|
SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
|
||||||
php bin/console wallabag:install --env=prod
|
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:
|
||||||
|
|
|
@ -15,7 +15,7 @@ Das neueste Release ist auf https://www.wallabag.org/pages/download-wallabag.htm
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git fetch --tags
|
git fetch --tags
|
||||||
git checkout 2.1.0
|
git checkout 2.1.0
|
||||||
ASSETS=build ./install.sh
|
SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
|
||||||
php bin/console doctrine:migrations:migrate --env=prod
|
php bin/console doctrine:migrations:migrate --env=prod
|
||||||
php bin/console cache:clear --env=prod
|
php bin/console cache:clear --env=prod
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ To install wallabag itself, you must run the following commands:
|
||||||
git clone https://github.com/wallabag/wallabag.git
|
git clone https://github.com/wallabag/wallabag.git
|
||||||
cd wallabag
|
cd wallabag
|
||||||
git checkout 2.1.0
|
git checkout 2.1.0
|
||||||
ASSETS=build ./install.sh
|
SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
|
||||||
php bin/console wallabag:install --env=prod
|
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:
|
||||||
|
|
|
@ -15,7 +15,7 @@ The last release is published on https://www.wallabag.org/pages/download-wallaba
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git fetch --tags
|
git fetch --tags
|
||||||
git checkout 2.1.0
|
git checkout 2.1.0
|
||||||
ASSETS=build ./install.sh
|
SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
|
||||||
php bin/console doctrine:migrations:migrate --env=prod
|
php bin/console doctrine:migrations:migrate --env=prod
|
||||||
php bin/console cache:clear --env=prod
|
php bin/console cache:clear --env=prod
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ Pour installer wallabag, vous devez exécuter ces commandes :
|
||||||
git clone https://github.com/wallabag/wallabag.git
|
git clone https://github.com/wallabag/wallabag.git
|
||||||
cd wallabag
|
cd wallabag
|
||||||
git checkout 2.1.0
|
git checkout 2.1.0
|
||||||
ASSETS=build ./install.sh
|
SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
|
||||||
php bin/console wallabag:install --env=prod
|
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 :
|
||||||
|
|
|
@ -15,7 +15,7 @@ La dernière version de wallabag est publiée à cette adresse : https://www.wal
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git fetch --tags
|
git fetch --tags
|
||||||
git checkout 2.1.0
|
git checkout 2.1.0
|
||||||
ASSETS=build ./install.sh
|
SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
|
||||||
php bin/console doctrine:migrations:migrate --env=prod
|
php bin/console doctrine:migrations:migrate --env=prod
|
||||||
php bin/console cache:clear --env=prod
|
php bin/console cache:clear --env=prod
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue