aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-10-15 15:16:35 +0200
committerThomas Citharel <tcit@tcit.fr>2016-10-15 15:16:35 +0200
commitf48a6f3a542613d68d7f8d12dfe9abe397c48db2 (patch)
treef12d4e734552a421632246887f00dec05b79db4b
parent76f2123defe40d7315597938f182fed386707765 (diff)
downloadwallabag-f48a6f3a542613d68d7f8d12dfe9abe397c48db2.tar.gz
wallabag-f48a6f3a542613d68d7f8d12dfe9abe397c48db2.tar.zst
wallabag-f48a6f3a542613d68d7f8d12dfe9abe397c48db2.zip
Bring make dev
-rwxr-xr-xMakefile3
-rw-r--r--scripts/dev.sh7
2 files changed, 10 insertions, 0 deletions
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
17update: ## Update the wallabag installation to the latest version 17update: ## Update the wallabag installation to the latest version
18 @sh scripts/update.sh $(ENV) 18 @sh scripts/update.sh $(ENV)
19 19
20dev: ## Install the latest dev version
21 @sh scripts/dev.sh
22
20run: ## Run the wallabag built-in server 23run: ## Run the wallabag built-in server
21 @php bin/console server:run --env=$(ENV) 24 @php bin/console server:run --env=$(ENV)
22 25
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 @@
1#! /usr/bin/env bash
2# You can execute this file to install wallabag dev environmnet
3# eg: `sh install.sh prod`
4
5composer install
6php bin/console wallabag:install
7php bin/console server:run