[英]How do I “install the PHP client by running the command in the plugin root directory”?
I customize Wordpress sites, so I'm somewhat technical but I'm trying to install a plugin from GitHub and the instructions are confusing me. 我自定义Wordpress网站,所以我有点技术性,但是我试图从GitHub安装一个插件,说明使我感到困惑。
Here are the Installing instructions: 以下是安装说明:
1. Clone or copy project folder into wp-content/plugins directory 1.将项目文件夹克隆或复制到wp-content / plugins目录
2. Install the SpinPapi PHP client by running the commands git submodule init and git submodule update in the WPSpin root directory 2.通过在WPSpin根目录中运行git submodule init和git submodule update命令来安装SpinPapi PHP客户端。
3. Ensure that the WPSpin/spinpapi/tmp folder is writable by the web server user 3.确保Web服务器用户可写WPSpin / spinpapi / tmp文件夹
4. Activate plugin from WordPress plugins screen 4.从WordPress插件屏幕激活插件
I'm pretty baffled by numbers 2 and 3. How do I run a command in a root directory? 我对数字2和3感到困惑。如何在根目录中运行命令? And when I downloaded the zip file, there isn't even a WPSpin/spinpapi/tmp folder, so how do I make it writable?
当我下载zip文件时,甚至没有WPSpin / spinpapi / tmp文件夹,那么如何使它可写?
This is the page I'm looking at: Github reference link 这是我正在查看的页面: Github参考链接
Thanks for any help. 谢谢你的帮助。
Can you connect to your server by ssh? 可以通过ssh连接到服务器吗?
if yes, you can execute command like: 如果是,则可以执行以下命令:
connect to your server 连接到您的服务器
ssh username@mydomain.com
1: clone git repository 1:克隆git存储库
git clone https://github.com/emumarketing/WPSpin.git
2: Install the SpinPapi PHP client 2:安装SpinPapi PHP客户端
cd WPSpin
git submodule init
git submodule update
3: search on google about chmod to make the folder writable 3:在Google上搜索有关chmod的信息,以使该文件夹可写
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.