From: Thomas Citharel Date: Sat, 15 Oct 2016 13:40:20 +0000 (+0200) Subject: Merge pull request #2451 from wallabag/add-dev-make X-Git-Tag: 2.1.2~7 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=05c009bb853e12d263213298072325f63e3a1deb;hp=8ecfdd7f8aa42929bbe17ca5c41e9f1f7f778b15;p=github%2Fwallabag%2Fwallabag.git Merge pull request #2451 from wallabag/add-dev-make 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