A Comments Ship you can embed in your site. Built with React.
https://ships.hull.io/hull-comments/manifest.json
/src/ship.js // Ship entry point. Required
/src/index.html // Demo Page. Optional
/src/index.js // Manual Ship embed, optional.
/manifest.json // Ship Manifest file. Describes settings
/src/locales/en.json // Translation file
npm install -g gulp && npm install
- Go to the Hull Dashboard, Create a Platform with URL you will use to demo your ship. For instance, this ship is hosted at
http://ships.hull.io/hull-comments/
. - Copy the snippet, paste in
index.html
- In the Platform customization screen, click
Add Ship > New Ship > Hull Ship Boilerplate
- Go to the
Advanced
tab, and input the URLs to your ship so that Hull can access themanifest.json
. Save
- Customize
config.js
and create.env.sh
from.env.sh.sample
- Run
gulp
and visit http://localhost:8081/. - We setup a ngrok tunnel with the subdomain matching
name
inpackage.json
if a Ngrok token is present in environment - Write Code
- Drink Coffee
- Be nice to others
- Repeat
- Publish
gulp sass //Rebuild custom version of Foundation framework
gulp prepare //Copy static files and rebuild Foundation
gulp // serve and watch, use Ngrok to make it publicly available if token present
gulp build //Build
gulp deploy // Build + Deploy to Github Pages + invalidate Cloudfront (only for Hull team)
More tasks are available in /gulp_tasks