GithubHelp home page GithubHelp logo

isabella232 / jquery-wp-content Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jquery/jquery-wp-content

0.0 0.0 0.0 12.63 MB

WordPress themes and plugins for the jQuery sites

License: Other

PHP 79.94% CSS 19.63% HTML 0.22% Hack 0.21%

jquery-wp-content's Introduction

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 vagrant.irc.jquery.org vagrant.meetings.jquery.org
172.27.72.27 vagrant.qunitjs.com vagrant.api.qunitjs.com
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.

jquery-wp-content's People

Contributors

agcolom avatar ajpiano avatar arschmitz avatar arthurvr avatar aurelioderosa avatar chexee avatar csnover avatar danheberden avatar darcyclarke avatar dcneiner avatar dnschnur avatar eddiemonge avatar gnarf avatar jaspermdegroot avatar jonlongnecker avatar jzaefferer avatar kborchers avatar kleinmaetschke avatar krinkle avatar kswedberg avatar mgol avatar nacin avatar peol avatar ravasthi avatar rdworth avatar redwolves avatar ryanneufeld avatar scottgonzalez avatar sigorilla avatar tjvantoll avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.