diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 53862287..9dc30eff 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -5,6 +5,9 @@ on: # yamllint disable-line rule:truthy branches: - master - develop + push: + branches: + - master name: ๐งช Testing (SQLite) diff --git a/README.md b/README.md index fb8eec06..de4287c5 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@
@@ -134,17 +134,59 @@ To use this repository, you need to meet the following requirements:
> [!Note]
> You should configure, set up, and run the [docker-shared-services](https://github.com/wayofdev/docker-shared-services) repository to ensure system-wide TLS and DNS support.
+### โ Docker Shared Services
+
+Check full instructions in [docker-shared-services](https://github.com/wayofdev/docker-shared-services) repository.
+
+1. **Create shared project directory:**
+
+ ```bash
+ mkdir -p ~/projects/infra && cd ~/projects/infra
+ ```
+
+2. **Clone `docker-shared-services` repository:**
+
+ ```bash
+ git clone \
+ git@github.com:wayofdev/docker-shared-services.git \
+ ~/projects/infra/docker-shared-services && \
+ cd ~/projects/infra/docker-shared-services
+ ```
+
+3. **Create `.env` file:**
+
+ ```bash
+ make env
+ ```
+
+4. **Install root certificate** and generate default project certs:
+
+ ```bash
+ make cert-install
+ ```
+
+5. **Run shared services:**
+
+ ```bash
+ make up
+ ```
+
+### โ Laravel Starter Template
+
1. **Clone** repository:
After forking or creating generating repository from template, you can clone it to your local machine. In this example we will use `laravel-starter-tpl` repository as starting point.
```bash
- git clone git@github.com:wayofdev/laravel-starter-tpl.git
+ git clone \
+ git@github.com:wayofdev/laravel-starter-tpl.git \
+ ~/projects/laravel-starter-tpl && \
+ cd ~/projects/laravel-starter-tpl
```
2. **Generate** `.env` file
- Generate .env file from .env.example file using Makefile command:
+ Generate `.env` file from `.env.example` file using `Makefile` command:
```bash
$ make env \
@@ -178,6 +220,8 @@ To use this repository, you need to meet the following requirements:
$ make up
```
+4. **Open** your browser and navigate to `https://laravel-starter-tpl.docker` to see Laravel welcome page.
+
## ๐ค Deployment to Staging and Production