From: Thomas Citharel Date: Sat, 15 Oct 2016 13:16:35 +0000 (+0200) Subject: Bring make dev X-Git-Tag: 2.1.2~7^2 X-Git-Url: https://git.immae.eu/?p=github%2Fwallabag%2Fwallabag.git;a=commitdiff_plain;h=f48a6f3a542613d68d7f8d12dfe9abe397c48db2 Bring make dev --- diff --git a/Makefile b/Makefile index 1c6c0d53..1df4d632 100755 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/scripts/dev.sh b/scripts/dev.sh new file mode 100644 index 00000000..9b89da35 --- /dev/null +++ b/scripts/dev.sh @@ -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