Skip to content

Instantly share code, notes, and snippets.

@tcsavage
Created July 19, 2012 01:01
Show Gist options
  • Save tcsavage/3140072 to your computer and use it in GitHub Desktop.
Save tcsavage/3140072 to your computer and use it in GitHub Desktop.
Pangolin setup
#! /bin/bash
# Clone the repo
git clone https://github.com/tcsavage/pangolin.git .
# Ensure we're on uopcomputing
git checkout uopcomputing
# Setup config
cp config.sample.php config.php
# OK, lets create the database tables
sudo /opt/lampp/bin/php cli.php makedb
# and the test data
sudo /opt/lampp/bin/php cli.php testdata
# and a user called admin
sudo /opt/lampp/bin/php cli.php makeuser admin admin@example.com admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment