dawelsch / dawelsch.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contiv Website

This repo contains the source of contiv website

Prerequisits

Note: Currently, this works only on OsX(Mac)

  • Ruby 2.0 or higher. Ruby comes preinstalled in OsX. you can install it using ""xcode-select --install" command if it doesnt)
  • Bundler 1.11 or higher ("sudo gem install bundler")
  • Middleman 3.4 or higher ("sudo gem install middleman")

Running the Site Locally

Running the site locally is simple. Clone this repo and run cd websrc; make dev.

Then open up http://localhost:4567.

Submitting changes

Make the changes locally on your machine and test it using above instructions. When you are ready to submit the changes run cd websrc; make build. This will build a static website and copy the files to correct location. After this, you can commit the code and submit pull request

Directory structure

Directory structure for this website follows typical middleman project structure. please see https://middlemanapp.com for more details

  • Top level directory contains the compiled static HTML webpages for contiv.github.io website
  • websrc directory contains the source files used to build the static HTML website

Directory structure:

+- websrc: makefile, gemfile and other build related files
	 +- helpers: helpers scripts used for compiling the website
	 +- source: root directory for all html template files. `index.html.erb` is the main html page for the website.
	  	  +- documents: this folder contains all the .md files for documentation
		  +- articles: this folder contains the blog articles
		  +- assets: contains stylesheets, images and javascript files
		  +- layouts: contains the template for header, footer and sidebar elements

About


Languages

Language:HTML 76.6%Language:CSS 20.9%Language:JavaScript 1.6%Language:Ruby 0.8%Language:Makefile 0.2%