harrycresswell / ain-messaging-system

A front end prototype for the AIN messaging system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ain-messaging-system

This is the source code for a messaging system prototype built for AIN.

It uses my gulp-hugo starter project as it is the quickest way (for me!) to get an scss workflow set up with a templating.

Note: this is only a front-end prototype which is intended to display the look and responsive functionality only.

Install pre-requisites

  • Xcode command line utilities xcode-select --install
  • Homebrew
  • Node.js brew install node
  • Gulp npm install -g gulp
  • Hugo brew install hugo

Usage

git clone https://github.com/harrycresswell/ain-messaging-system.git
cd ain-messaging-system
  • Then run npm install to install node dependencies
  • Run gulp to start a local server and build _site in development mode
  • for a production ready build run gulp prod the site is now ready for deployment

Adding content

  • hugo new articles/ARTICLE-NAME.md

Compile the site

  • run hugo --verbose

Start the server

  • run hugo server --watch --verbose or hugo server -wv to start the server, then navigate to http://localhost:1313/

Compile assets

  • open a second tab on the CL and run gulp

production ready build for deployment

rm -rf public
hugo
gulp

About

A front end prototype for the AIN messaging system


Languages

Language:HTML 61.8%Language:CSS 36.1%Language:JavaScript 2.1%