brownbabyreads / brownbabyreads-site

0 stars 1 forks source link

OVERNIGHT CHALLENGE!

   _____                        __     _____            _       __
  / ___/____  _________  __  __/ /_   / ___/____  _____(_)___ _/ /
  \__ \/ __ \/ ___/ __ \/ / / / __/   \__ \/ __ \/ ___/ / __ `/ / 
 ___/ / /_/ / /  / /_/ / /_/ / /_    ___/ / /_/ / /__/ / /_/ / /  
/____/ .___/_/   \____/\__,_/\__/   /____/\____/\___/_/\__,_/_/   
    /_/                                                                                                                 

Live Heroku: http://brownbaby.herokuapp.com/

Get started

Start by cloning this repo:

git clone git@github.com:ericcecchi/overnight-website.git
cd overnight-website

And then set up a dev branch for yourself:

git checkout -b you-dev
git push -u origin you-dev

Running WordPress Locally

With vagrant

Make sure you have vagrant and virtualbox already installed. Then:

vagrant plugin install vagrant-hostsupdater
vagrant up
open http://overnight.dev

With MAMP

Read Installing WordPress Locally on Your Mac With MAMP.

Configure with these MAMP settings.

Setup MAMP database:

Making changes to the theme

We're using npm to manange packages and grunt to automate the build process.

cd wordpress/wp-content/themes/sprout-challenge
npm install
grunt dev

Deploying

Just commit and push. Everyone is working off they're own dev branch and submitting PR's to master. Master is automatically deployed to heroku.

vagrant and virtualbox

If you don't have vagrant and virtualbox already installed, you will after these steps:

brew tap phinze/homebrew-cask && brew install brew-cask
brew cask install vagrant virtualbox