diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-10-15 15:40:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-15 15:40:20 +0200 |
commit | 05c009bb853e12d263213298072325f63e3a1deb (patch) | |
tree | 7ac6a86c42378df09fddf1184666c170c151b3d8 | |
parent | 8ecfdd7f8aa42929bbe17ca5c41e9f1f7f778b15 (diff) | |
parent | f48a6f3a542613d68d7f8d12dfe9abe397c48db2 (diff) | |
download | wallabag-05c009bb853e12d263213298072325f63e3a1deb.tar.gz wallabag-05c009bb853e12d263213298072325f63e3a1deb.tar.zst wallabag-05c009bb853e12d263213298072325f63e3a1deb.zip |
Merge pull request #2451 from wallabag/add-dev-make
Bring make dev
-rwxr-xr-x | Makefile | 3 | ||||
-rw-r--r-- | scripts/dev.sh | 7 |
2 files changed, 10 insertions, 0 deletions
@@ -17,6 +17,9 @@ install: ## Install wallabag with the latest version | |||
17 | update: ## Update the wallabag installation to the latest version | 17 | update: ## Update the wallabag installation to the latest version |
18 | @sh scripts/update.sh $(ENV) | 18 | @sh scripts/update.sh $(ENV) |
19 | 19 | ||
20 | dev: ## Install the latest dev version | ||
21 | @sh scripts/dev.sh | ||
22 | |||
20 | run: ## Run the wallabag built-in server | 23 | run: ## 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 | |||
5 | composer install | ||
6 | php bin/console wallabag:install | ||
7 | php bin/console server:run | ||