• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

jquery/jquery-wp-content: WordPress themes and plugins for the jQuery sites

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

jquery/jquery-wp-content

开源软件地址:

https://github.com/jquery/jquery-wp-content

开源编程语言:

PHP 80.0%

开源软件介绍:

jquery-wp-content

jquery-wp-content is a custom replacement for the wp-content directory which contains the plugins, themes and site configuration to run the jQuery multi-site WordPress network.

Although we recommend using the pre-built VM, if you would like to manually install jquery-wp-content you will find instructions for installing in the INSTALL.md file in this directory. We strongly recommend using the VM as it will provide the same environment as our production servers.

Prerequisites

This setup guide assumes you have certain prerequisites installed.

Vagrant and Virtualbox

We recommend the combination of Virtualbox and Vagrant for a local development environment. Vagrant simplifies download, installation, and management of the local environment VM with a few commands.

Setup

From the root of your jquery-wp-content clone, run the following command:

vagrant up

This will start the VM for you, the output should look similar to what you see below.

Bringing machine 'default' up with 'virtualbox' provider...
[default] Box 'jquery-wp-content' was not found. Fetching box from specified URL for
the provider 'virtualbox'. Note that if the URL does not have
a box for this provider, you should interrupt Vagrant now and add
the box yourself. Otherwise Vagrant will attempt to download the
full box prior to discovering this error.
Downloading box from URL: http://boxes.jquery.com/jquery-wp-content.box
Calculating and comparing box checksum...ime remaining: 0:00:01)
Extracting box...
Successfully added box 'jquery-wp-content' with provider 'virtualbox'!
[default] Importing base box 'jquery-wp-content'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Running 'pre-boot' VM customizations...
[default] Booting VM...
[default] Waiting for machine to boot. This may take a few minutes...
[default] Machine booted and ready!
[default] Setting hostname...
[default] Configuring and enabling network interfaces...
[default] Mounting shared folders...
[default] -- /vagrant
[default] -- /var/www/wordpress/jquery-wp-content

Complete the installation process by pointing your browser at http://vagrant.jquery.com/. Feel free to use any username/password/email combination that you choose, though keep note of the username and password as you will need them to deploy to your local VM.

You do not need to configure your /etc/hosts file for vagrant.* because jquery.com's DNS handles this for you. However, if you plan to work offline, you can use the following rules:

172.27.72.27 vagrant.jquery.com vagrant.api.jquery.com vagrant.blog.jquery.com vagrant.books.jquery.com vagrant.releases.jquery.com vagrant.learn.jquery.com vagrant.plugins.jquery.com
172.27.72.27 vagrant.jqueryui.com vagrant.api.jqueryui.com vagrant.blog.jqueryui.com
172.27.72.27 vagrant.jquerymobile.com vagrant.api.jquerymobile.com vagrant.blog.jquerymobile.com
172.27.72.27 vagrant.jquery.org vagrant.brand.jquery.org vagrant.contribute.jquery.org vagrant.events.jquery.org agrant.meetings.jquery.org
172.27.72.27 vagrant.sizzlejs.com

Stopping and Restarting the Virtual Machine

When you're not working on jquery-wp-content you'll probably want to run vagrant halt to turn off the VM to save yourself some system resources. Alternatively you can suspend the VM by using vagrant suspend. You can always start the VM by running vagrant up.

Clean up

Should you need to recover some harddrive space you can safely run the vagrant destroy command from within your jquery-wp-content clone. This will delete the VM image from your hard drive. You will not lose any work by doing this.

Auto-Updates

Changes pushed to master are automatically pulled onto the stage domain.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap