'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.
- Version v0.2.0
- MongoDB v3.*
- Node ^6.2.0
- Webinate-Users
- ModePress
- Tested Ubuntu v14.04
- Gulp
- Make sure the requirements are installed and running
- Create a folder where you want to store blacktip and go into that folder
mkdir blacktip
cd blacktip
- Run as an admin / or make sure you have write privileges in the blacktip folder
sudo su
- 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
-
Install the build dependencies
npm install
-
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
- (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": []
}]
}
Blacktip makes use of the following third party libraries