|
18 | 18 | [](https://github.com/dotkernel/queue/actions/workflows/qodana_code_quality.yml) |
19 | 19 | [](https://github.com/dotkernel/queue/actions/workflows/static-analysis.yml) |
20 | 20 |
|
21 | | -## Installation |
| 21 | +## Clone the project |
22 | 22 |
|
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: |
24 | 24 |
|
25 | 25 | ```shell |
26 | | -composer require dotkernel/queue |
| 26 | +git clone https://github.com/dotkernel/queue.git . |
27 | 27 | ``` |
28 | 28 |
|
29 | 29 | ## Setup |
30 | 30 |
|
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: |
32 | 32 |
|
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 |
34 | 55 | ```shell |
35 | 56 | sudo dnf install valkey |
36 | 57 | ``` |
@@ -117,6 +138,11 @@ Check if swoole extension is loaded in PHP |
117 | 138 | php -m | grep swoole |
118 | 139 | ``` |
119 | 140 |
|
| 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 | + |
120 | 146 | ## Usage |
121 | 147 |
|
122 | 148 | In order to start or stop the swoole server to you can run the following commands |
|
0 commit comments