From f48a6f3a542613d68d7f8d12dfe9abe397c48db2 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sat, 15 Oct 2016 15:16:35 +0200 Subject: Bring make dev --- Makefile | 3 +++ scripts/dev.sh | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 scripts/dev.sh 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 -- cgit v1.2.3