Skip to content

Webinate/blacktip

Repository files navigation

Blacktip

'Blacktip' is a codename of the theme designed for the webinate 2015 site. Blacktip is built in Angular and relies on Webinate's ModePress to provide some its backend content.

Current stable version

  • Version v0.2.0

Requirements

Installation

  1. Make sure the requirements are installed and running
  2. Create a folder where you want to store blacktip and go into that folder
mkdir blacktip
cd blacktip
  1. Run as an admin / or make sure you have write privileges in the blacktip folder
sudo su
  1. Download and install the desired version from github

If you want the latest stable version:

curl -o- https://raw.githubusercontent.com/Webinate/blacktip/master/install-script.sh | bash

OR if you want the dev build

curl -o- https://raw.githubusercontent.com/Webinate/blacktip/dev/install-script-dev.sh | bash
  1. Install the build dependencies

    npm install

  2. Build the project

gulp install
gulp build-all

Note: To build a release version, replace the build-all with build-all-release

gulp install
gulp build-all-release

The release version is a lot smaller. Once this is complete, the built project will reside in the dist folder

  1. (Optional) Add the "dist" folder as a new target for Modepress
  • Open the config file for modepress /modepress/config.json
  • Create a new server block in the servers property
{
    "host": "webinate.net",
    "portHTTP": 8001,
    "ssl": false,
    "staticFilesFolder": ["YOUR DIST FOLDER PATH (MUST BE ABSOLUTE VALUE)"],
    "approvedDomains": ["webinate-test\\.net"],
    "controllers": [
        { "path" : "./controllers/page-renderer.js" },
        { "path" : "./controllers/emails-controller.js" },
        { "path" : "./controllers/posts-controller.js" },
        { "path" : "./controllers/comments-controller.js" }
    ],
    "paths": [
    {
        "name": "default",
        "path": "*",
        "index": "YOUR DIST FOLDER PATH (MUST BE ABSOLUTE VALUE)/index.jade",
        "plugins": []
    }]
}

Third Party Credits

Blacktip makes use of the following third party libraries