]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Bring make dev 2451/head
authorThomas Citharel <tcit@tcit.fr>
Sat, 15 Oct 2016 13:16:35 +0000 (15:16 +0200)
committerThomas Citharel <tcit@tcit.fr>
Sat, 15 Oct 2016 13:16:35 +0000 (15:16 +0200)
Makefile
scripts/dev.sh [new file with mode: 0644]

index 1c6c0d5373eceb362e0abbe6f7044b9c183dfd2c..1df4d6327333a06ef399778f16810f413c6e2f24 100755 (executable)
--- 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 (file)
index 0000000..9b89da3
--- /dev/null
@@ -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