From fae6544b916189a0435b33df6e9bdf3dff3f2bd6 Mon Sep 17 00:00:00 2001 From: Alif <70696461+alisyya@users.noreply.github.com> Date: Thu, 14 Oct 2021 13:03:09 +0700 Subject: [PATCH 01/10] custom readme.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 5a5dc07c394..a42db6af5ae 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ +

سْمِ ٱللَّٰهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ

Nge (Noob Edition)

Laravel project customized stack by DigitalEntropy. ### Requirements : - Docker +![alt text](https://miro.medium.com/max/1000/1*E8IgOSkMTpBRs0w0-Zsx2g.gif) ### Quick Start : ```shell From 55e714add2e949dbcc7477219628b6bee6d301b0 Mon Sep 17 00:00:00 2001 From: Alif <70696461+alisyya@users.noreply.github.com> Date: Thu, 14 Oct 2021 13:55:15 +0700 Subject: [PATCH 02/10] update readme md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a42db6af5ae..a6ef263637e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Laravel project customized stack by DigitalEntropy. ### Requirements : - Docker -![alt text](https://miro.medium.com/max/1000/1*E8IgOSkMTpBRs0w0-Zsx2g.gif) + - ![alt text](https://miro.medium.com/max/1000/1*E8IgOSkMTpBRs0w0-Zsx2g.gif) ### Quick Start : ```shell From 5ff97f1349d8081e94847de48384cfc8033024a9 Mon Sep 17 00:00:00 2001 From: Alif <70696461+alisyya@users.noreply.github.com> Date: Thu, 14 Oct 2021 14:12:26 +0700 Subject: [PATCH 03/10] add bismillah --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a6ef263637e..f27829b3af2 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -

سْمِ ٱللَّٰهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ

+

بِسْــــــــــــــــــمِ اللهِ الرَّحْمَنِ الرَّحِيْمِ

Nge (Noob Edition)

Laravel project customized stack by DigitalEntropy. ### Requirements : - Docker - - ![alt text](https://miro.medium.com/max/1000/1*E8IgOSkMTpBRs0w0-Zsx2g.gif) +
![alt text](https://miro.medium.com/max/1000/1*E8IgOSkMTpBRs0w0-Zsx2g.gif) ### Quick Start : ```shell From cf6711829ee9722aaa0aafc612df78b87aa86452 Mon Sep 17 00:00:00 2001 From: Alif <70696461+alisyya@users.noreply.github.com> Date: Thu, 14 Oct 2021 14:30:15 +0700 Subject: [PATCH 04/10] add top langs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f27829b3af2..d29865125db 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Laravel project customized stack by DigitalEntropy. ./nge up ``` open https://localhost:8000 in your favorite browser. - +![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=digital-entropy&layout=compact) ### FAQ : > Q : where is routes folder ?.
From 59a29f5e3f61e6d2dd5141297aa91224d2d698bb Mon Sep 17 00:00:00 2001 From: Alif <70696461+alisyya@users.noreply.github.com> Date: Thu, 14 Oct 2021 18:41:57 +0700 Subject: [PATCH 05/10] update readme.md nge.noob --- README.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d29865125db..e3cd2aa6458 100644 --- a/README.md +++ b/README.md @@ -3,19 +3,29 @@ Laravel project customized stack by DigitalEntropy. -### Requirements : - - Docker -
![alt text](https://miro.medium.com/max/1000/1*E8IgOSkMTpBRs0w0-Zsx2g.gif) +![GitHub contributors](https://img.shields.io/github/contributors/digital-entropy/nge.noob) +![Visitor](https://visitor-badge.laobi.icu/badge?page_id=digital-entropy.nge.noob) +[![GitHub forks](https://badgen.net/github/forks/digital-entropy/nge.noob/)](https://github.com/digital-entropy/nge.noob/network/) +### Requirements : + - Docker +
![alt text](https://miro.medium.com/max/1000/1*E8IgOSkMTpBRs0w0-Zsx2g.gif) + ### Quick Start : ```shell ./nge install ./nge up ``` open https://localhost:8000 in your favorite browser. -![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=digital-entropy&layout=compact) + ### FAQ : > Q : where is routes folder ?.
> A : we replace default laravel router with our custom route [here](https://github.com/digital-entropy/yalr). > you can see all the routes in config/routes.php + +![Laravel](https://img.shields.io/badge/laravel-%23FF2D20.svg?style=for-the-badge&logo=laravel&logoColor=white) +![Postgres](https://img.shields.io/badge/postgres-%23316192.svg?style=for-the-badge&logo=postgresql&logoColor=white) +![Vue.js](https://img.shields.io/badge/vuejs-%2335495e.svg?style=for-the-badge&logo=vuedotjs&logoColor=%234FC08D) +![TailwindCSS](https://img.shields.io/badge/tailwindcss-%2338B2AC.svg?style=for-the-badge&logo=tailwind-css&logoColor=white) +![Redis](https://img.shields.io/badge/redis-%23DD0031.svg?style=for-the-badge&logo=redis&logoColor=white) \ No newline at end of file From 0f8732140da67b471e7bc10729ae305cfdc76844 Mon Sep 17 00:00:00 2001 From: Alif <70696461+alisyya@users.noreply.github.com> Date: Thu, 14 Oct 2021 18:48:47 +0700 Subject: [PATCH 06/10] add commits --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e3cd2aa6458..7bfafec7c96 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ Laravel project customized stack by DigitalEntropy. ![GitHub contributors](https://img.shields.io/github/contributors/digital-entropy/nge.noob) ![Visitor](https://visitor-badge.laobi.icu/badge?page_id=digital-entropy.nge.noob) [![GitHub forks](https://badgen.net/github/forks/digital-entropy/nge.noob/)](https://github.com/digital-entropy/nge.noob/network/) +[![GitHub commits](https://badgen.net/github/commits/digital-entropy/nge.noob/)](hhttps://github.com/digital-entropy/nge.noob/commits/) ### Requirements : - Docker From d9f77d76123d91aeb5a2e9480d9d57da5204abde Mon Sep 17 00:00:00 2001 From: Alif <70696461+alisyya@users.noreply.github.com> Date: Thu, 14 Oct 2021 18:51:10 +0700 Subject: [PATCH 07/10] remove bismillah --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 7bfafec7c96..0805dec4d2f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,4 @@ -

بِسْــــــــــــــــــمِ اللهِ الرَّحْمَنِ الرَّحِيْمِ

-

Nge (Noob Edition)

- +

Nge (Noob Edition)

Laravel project customized stack by DigitalEntropy. ![GitHub contributors](https://img.shields.io/github/contributors/digital-entropy/nge.noob) From 05468c74051e49b75c14538e4d7efadf4e8ceb94 Mon Sep 17 00:00:00 2001 From: Alif <70696461+alisyya@users.noreply.github.com> Date: Thu, 14 Oct 2021 20:59:15 +0700 Subject: [PATCH 08/10] check if file .env exist --- nge | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nge b/nge index cb80e19a2c4..36a8b70b1ba 100755 --- a/nge +++ b/nge @@ -4,6 +4,14 @@ set -o errexit # Used to exit upon error, avoiding cascading errors IFS=$'\n\t' +# check .env file if exist and not exist +file = .env +if [! -e "$file" ]; then + cp .env.example .env +else + echo "File .env Exist" +fi + # read .env file # shellcheck disable=SC1090 source <(grep -v '^#' .env | sed -E 's|^(.+)=(.*)$|: ${\1=\2}; export \1|g') From bc2c11b1f51028a1f6b8d1a5555e2b71a24d888b Mon Sep 17 00:00:00 2001 From: Alif <70696461+alisyya@users.noreply.github.com> Date: Thu, 14 Oct 2021 22:03:18 +0700 Subject: [PATCH 09/10] nge --- nge | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nge b/nge index 36a8b70b1ba..b0f272af0e0 100755 --- a/nge +++ b/nge @@ -5,8 +5,7 @@ set -o errexit # Used to exit upon error, avoiding cascading errors IFS=$'\n\t' # check .env file if exist and not exist -file = .env -if [! -e "$file" ]; then +if [! -f .env ]; then cp .env.example .env else echo "File .env Exist" From c8edcc7091f0b3c23a2f485938edcf0ae182b0cd Mon Sep 17 00:00:00 2001 From: Alif <70696461+alisyya@users.noreply.github.com> Date: Thu, 14 Oct 2021 22:19:49 +0700 Subject: [PATCH 10/10] fix nge cp .env.example --- nge | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/nge b/nge index b0f272af0e0..0b44b920528 100755 --- a/nge +++ b/nge @@ -1,16 +1,16 @@ -#!/bin/bash -set -Eeo pipefail -set -o errexit # Used to exit upon error, avoiding cascading errors - -IFS=$'\n\t' - # check .env file if exist and not exist -if [! -f .env ]; then +if [ ! -f .env ]; then cp .env.example .env else echo "File .env Exist" fi +#!/bin/bash +set -Eeo pipefail +set -o errexit # Used to exit upon error, avoiding cascading errors + +IFS=$'\n\t' + # read .env file # shellcheck disable=SC1090 source <(grep -v '^#' .env | sed -E 's|^(.+)=(.*)$|: ${\1=\2}; export \1|g')