Skip to content

Commit 4c94b5e

Browse files
committed
more specific instructions
Signed-off-by: sergiu <[email protected]>
1 parent b841970 commit 4c94b5e

File tree

1 file changed

+31
-5
lines changed

1 file changed

+31
-5
lines changed

README.md

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,40 @@
1818
[![Qodana](https://github.com/dotkernel/queue/actions/workflows/qodana_code_quality.yml/badge.svg?branch=main)](https://github.com/dotkernel/queue/actions/workflows/qodana_code_quality.yml)
1919
[![PHPStan](https://github.com/dotkernel/queue/actions/workflows/static-analysis.yml/badge.svg?branch=main)](https://github.com/dotkernel/queue/actions/workflows/static-analysis.yml)
2020

21-
## Installation
21+
## Clone the project
2222

23-
Install `dotkernel/queue` by executing the following Composer command:
23+
Using your terminal, navigate inside the directory you want to download the project files into. Make sure that the directory is empty before proceeding to the download process. Once there, run the following command:
2424

2525
```shell
26-
composer require dotkernel/queue
26+
git clone https://github.com/dotkernel/queue.git .
2727
```
2828

2929
## Setup
3030

31-
In order to setup the server run the following commands:
31+
After you have finished cloning the project, before installing the dependencies, you need to setup the server. Using the command line, go to your system root directory, then type the following commands:
3232

33-
Install Valkey
33+
Start with updating your system
34+
```shell
35+
sudo dnf update -y
36+
```
37+
38+
Installing Apache HTTP Server
39+
```shell
40+
sudo dnf install httpd httpd-tools -y
41+
```
42+
43+
Start and enable the Apache service
44+
```shell
45+
sudo systemctl start httpd
46+
sudo systemctl enable httpd
47+
```
48+
49+
To check Apache service status run the following command
50+
```shell
51+
sudo systemctl status httpd
52+
```
53+
54+
Once you have installed Apache you can proceed to install Valkey
3455
```shell
3556
sudo dnf install valkey
3657
```
@@ -117,6 +138,11 @@ Check if swoole extension is loaded in PHP
117138
php -m | grep swoole
118139
```
119140

141+
After the server setup is complete, you can move on to installing the project dependencies, go to your application's root directory and run the following command.
142+
```shell
143+
composer install
144+
```
145+
120146
## Usage
121147

122148
In order to start or stop the swoole server to you can run the following commands

0 commit comments

Comments
 (0)