Giter VIP home page Giter VIP logo

vagrantpress-grunt's Introduction

Cohaesus VagrantPress

Forked from VagrantPress (http://vagrantpress.org/) this project is a packaged development environment for Wordpress.

Requirements

What's inside?

Get Started

Clone this project, and from the root of this project start the vm with the following command

vagrant up

This creates the VM with the default virtualbox provider, you can specify the provider (such as VMWare Fusion 5) with the following

vagrant up --provider vmware_fusion

The VM will start up and in the process will pull and install the latest version of Wordpress, and create the symlinks nessecary to run the project. Once complete you can view the project on

http://localhost:8080

Start developing

You can ignore the /wordpress directory as nothing in here should be edited. All development files are contained in /source where you will find plugins, themes and wp-config. The contents of /source are symlinked to the /wordpress directory.

Bones has been included as a base theme and Grunt tasks have been set up to compile scss files used by Bones. To run these enter the vm with the following command

vagrant ssh
cd /vagrant

Now you are in the vagrant source directory in the VM. You can run the following tasks

Watch

grunt watch

This watches the /source directory for any changes (saving layout files for example) and runs the tasks required. For now this only runs the sass compile task, but more might be added.

Build

grunt build

This task will copy the whole source into the /build folder, combining the wordpress source and the project source (themes, plugins, config). This will also dump the current database into /build/database/latest.sql

Import database

grunt import

This task will import the contents of /build/database/latest.sql into the database. You can run this when there is a new version of the database in the repository

Defaults

  • Default Wordpress login is username: 'admin' and password: 'vagrant'
  • To login to anything in the VM the password should be 'vagrant' (MySQL for example)

vagrantpress-grunt's People

Contributors

chadothompson avatar bchhun avatar

Watchers

James Cloos avatar Vladimir Lelicanin 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.