open core

This is a plugin to https://discourse.org that provides our set of customizations and extensions.

12
4
Ruby

open-core

Installation note

In order to set up a vagrant development environemnt please following the instrutions at http://blog.discourse.org/2013/04/discourse-as-your-first-rails-app/ and then do the folowing steps:

vagrant up
vagrant ssh

sudo apt-get update
sudo apt-get install libmysqlclient-dev

You will also need to install wkhtmltopdf, get the binary for your version at http://wkhtmltopdf.org/downloads.html

Install wkhtmltopdf:
sudo dpkg -i wkhtmltox-0.12.2.1_linux-trusty-amd64.deb

Install rmagick prerequisite:
sudo apt-get install libmagickwand-dev

Install dependencies if needed
sudo apt-get -f install

Install the plugins that make up the site

git checkout stable
cd plugins/
git clone https://github.com/srcclr/open-core.git
git clone https://github.com/srcclr/security-headers.git
git clone https://github.com/srcclr/csp-reports.git
git clone https://github.com/srcclr/bughunt-leaderboard.git
git clone https://github.com/srcclr/ssl-reminder.git
cd ..
bundle install
bin/rake db:migrate
bin/rails s

The site would be at http://localhost:4000/