You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once installed, you can run the server immediately using the command below.
35
43
36
44
```bash
37
-
$ cd path/to/install
38
-
$ php bin/hyperf.php start
45
+
cd path/to/install
46
+
php bin/hyperf.php start
39
47
```
40
48
41
-
This will start the cli-server on port `9501`, and bind it to all network interfaces. You can then visit the site at `http://localhost:9501/`
49
+
Or if in a Docker based environment you can use the `docker-compose.yml` provided by the template:
50
+
51
+
```bash
52
+
cd path/to/install
53
+
docker-compose up
54
+
```
55
+
56
+
This will start the cli-server on port `9501`, and bind it to all network interfaces. You can then visit the site at `http://localhost:9501/` which will bring up Hyperf default home page.
57
+
58
+
## Hints
59
+
60
+
- A nice tip is to rename `hyperf-skeleton` of files like `composer.json` and `docker-compose.yml` to your actual project name.
61
+
- Take a look at `config/routes.php` and `app/Controller/IndexController.php` to see an example of a HTTP entrypoint.
42
62
43
-
which will bring up Hyperf default home page.
63
+
**Remember:** you can always replace the contents of this README.md file to something that fits your project description.
0 commit comments