You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.9 KiB
52 lines
1.9 KiB
## 下载最新源码的两种方法
|
|
### 第一种:下载完整的发行版
|
|
**github:**[GITHUB仓库 发行版][1]
|
|
**gitee:**[码云仓库 发行版][2]
|
|
下载**`Release.zip`**后缀的压缩包,解压缩后即可配置使用。
|
|
|
|
### 第二种:git clone下载源码
|
|
**拉取源码命令,下面两个仓库都可以:**
|
|
- github:`git clone https://github.com/ledccn/IYUUAutoReseed`
|
|
- gitee:`git clone https://gitee.com/ledc/IYUUAutoReseed.git`
|
|
|
|
----------
|
|
|
|
|
|
**完整命令:**
|
|
```bash
|
|
git clone https://github.com/ledccn/IYUUAutoReseed
|
|
cd IYUUAutoReseed
|
|
composer install
|
|
php ./iyuu.php
|
|
```
|
|
Windows环境,完整过程演示:
|
|
![git下载源码composer安装.png][3]
|
|
```cmd
|
|
E:\>git clone https://github.com/ledccn/IYUUAutoReseed
|
|
Cloning into 'IYUUAutoReseed'...
|
|
remote: Enumerating objects: 189, done.
|
|
remote: Counting objects: 100% (189/189), done.
|
|
remote: Compressing objects: 100% (120/120), done.
|
|
Receiving objects: 97% (814/remote: Total 839 (delta 78), reused 171 (delta 64), pack-reused 650839), 380.00 KiB | 45.0R
|
|
Receiving objects: 100% (839/839), 419.04 KiB | 50.00 KiB/s, done.
|
|
Resolving deltas: 100% (468/468), done.
|
|
|
|
E:\>cd IYUUAutoReseed
|
|
|
|
E:\IYUUAutoReseed>composer install
|
|
Loading composer repositories with package information
|
|
Installing dependencies (including require-dev) from lock file
|
|
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
|
|
Package operations: 2 installs, 0 updates, 0 removals
|
|
- Installing curl/curl (2.2.0): Loading from cache
|
|
- Installing owner888/phpspider (v2.1.6): Loading from cache
|
|
owner888/phpspider suggests installing ext-pcntl、ext-redis (For better performance. )
|
|
Generating autoload files
|
|
|
|
E:\IYUUAutoReseed>
|
|
```
|
|
|
|
|
|
[1]: https://github.com/ledccn/IYUUAutoReseed/releases
|
|
[2]: https://gitee.com/ledc/IYUUAutoReseed/releases
|
|
[3]: https://www.iyuu.cn/usr/uploads/2020/01/314358689.png |