Merge pull request #2451 from wallabag/add-dev-make

Bring make dev
This commit is contained in:
Thomas Citharel 2016-10-15 15:40:20 +02:00 committed by GitHub
commit 05c009bb85
2 changed files with 10 additions and 0 deletions

View file

@ -17,6 +17,9 @@ install: ## Install wallabag with the latest version
update: ## Update the wallabag installation to the latest version
@sh scripts/update.sh $(ENV)
dev: ## Install the latest dev version
@sh scripts/dev.sh
run: ## Run the wallabag built-in server
@php bin/console server:run --env=$(ENV)

7
scripts/dev.sh Normal file
View file

@ -0,0 +1,7 @@
#! /usr/bin/env bash
# You can execute this file to install wallabag dev environmnet
# eg: `sh install.sh prod`
composer install
php bin/console wallabag:install
php bin/console server:run