readme add quick start

This commit is contained in:
xiaomlove
2022-06-23 16:39:52 +08:00
parent eb3d7138d6
commit e786b8b461
7 changed files with 28 additions and 8 deletions
+12 -1
View File
@@ -26,10 +26,21 @@ Complete PT website building solution. Based on NexusPHP + Laravel Framework + E
- ....
## System Requirements
- PHP: 8.0, must have extensions: bcmath, ctype, fileinfo, json, mbstring, openssl, pdo_mysql, tokenizer, xml, mysqli, gd, redis, pcntl, sockets, posix
- PHP: 8.0, must have extensions: bcmath, ctype, curl, fileinfo, json, mbstring, openssl, pdo_mysql, tokenizer, xml, mysqli, gd, redis, pcntl, sockets, posix
- Mysql: 5.7 latest version or above
- Redis1.0.0 or above
## Quick Start
Install docker.
Where DOMAIN is the domain name you want to use, first do a good resolution. If you don't have a domain name, you can use IP.
If the local port 80 is already used, please change it and make sure the port is open to the public.
Step 2 Create .env Select the correct time zone TIMEZONE, other defaults are fine.
```
docker pull xiaomlove/nexusphp:latest
docker run --name my-nexusphp -e DOMAIN=xxx.com -p 80:80 xiaomlove/nexusphp:latest
```
**Production environments are recommended to refer to the documentation for live installation.**
## More information
Blog[https://nexusphp.org](https://nexusphp.org/)
Documentation[https://doc.nexusphp.org](https://doc.nexusphp.org/en/)