Skip to content

Instantly share code, notes, and snippets.

@iamedu
Last active April 18, 2016 18:50
Show Gist options
  • Save iamedu/b38c1b2e750ffc20756c374e5bc0f616 to your computer and use it in GitHub Desktop.
Save iamedu/b38c1b2e750ffc20756c374e5bc0f616 to your computer and use it in GitHub Desktop.

Get up and running with Foundation

Prerrequisites

  • An internet connection!
  • Terminus DB copy (data-sql-apr-15.sql.bz2)
  • Solr copy (data-solr-apr-15.sql.bz2)
  • Maven 3
  • Recommended: NVM to install node & npm
  • Node v4
  • NPM 2.x (see instructions below)
  • Bower latest (npm i -g bower)
  • Grunt CLI (npm i -g grunt-cli)

Install notes

If your npm --version is higher than 2.x, you can downgrade by running npm i -g npm@2

Load database

  • bunzip2 data-april-15.sql.bz2
  • mysql -u root
  • CREATE DATABASE foundation;
  • quit
  • mysql -u root foundation < data-april-15.sql

Get the code

  • git clone git@bitbucket.org:gextech/foundation.git

Build it

mvn clean install

Copy solr

  • cd foundation/solrWeb/solr
  • tar xfvj data-april-15.tar.bz2

Run it

./cms start

Configure CMS

Open http://localhost:8080/cms, go to Site Settings, modify the URLs for each site to be:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment