mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
readme add quick start
This commit is contained in:
+12
-1
@@ -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
|
||||
- Redis:1.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/)
|
||||
|
||||
Reference in New Issue
Block a user