Skip to content

Getting Started (Mac)

Andrea edited this page Jun 27, 2013 · 1 revision

(This page is intended for someone new to the project. Before starting, make sure you have the required permissions.)

1.- Get XAMPP

Skip if you already have XAMPP

  1. Download XAMPP for Mac OSX.
  2. Open the .dmg file.
  3. Drag and drop the XAMPP folder to the Applications folder.

Start XAMPP

  1. Open up XAMPP Control.
  • Run Apache and MySQL.

Test

  1. Type " localhost " into your browser.
  • You should see an orange success page.

Almost there! Your computer now acts as a server.

2.- Get the Files

  1. Go to your xampp directory: cd /Applications/xampp/htdocs/
  2. Clone the Repository (SSH): git clone [email protected]:codefest/redapple.git
  3. Check for a newly created folder in your htdocs.

3.- Set Up a Database

Type " localhost/phpmyadmin " into your browser.

Creating the Database

  1. Go to the " Databases " tab.
  2. Create a new database named " redapple "
  • Leave the defaults

Creating a User

  1. Go to the " Users " tab.
  2. Click " Add user ".
  • User name: rauser
  • Host: localhost ( simply select " Local " on the dropdown )
  • Password: secure
  • Global privileges: Check All

Importing the Tables

  1. Go to the " redapple " database on your left.
  2. Click on the " Import " tab at the top.
  3. Choose file: Applications/xampp/htdocs/redapple/resources/db/redapple_YYYY-MM-DD.sql
  4. Click on " Go ".

4.- Done!

Type localhost/redapple into your browser and you should see a wordpress page.