malcolm

2.1.0 • Public • Published

MalcolmDiggs.com

My new and improved freelancing site. A single-page application powered by Node.js, Gulp, Handlebars, LESS, Bootstrap, JsHint, MochaJS, and jQuery.

Codeship Status for malcolmdiggs/malcolmdiggs.com build

Clone it

git clone --recursive git@github.com:malcolmdiggs/malcolmdiggs.com.git && cd malcolmdiggs.com 

or

npm install malcolm && mv node_modules/malcolm /specify/a/path/here

Install it

npm install

Build it

npm start

or

gulp build --env production

Test it

npm test

Hack on it

gulp watch

Deploy it

The contents of the /dist folder is all you need to serve publicly. Here's a sample nginx.conf, replace the relevant paths with yours. The codebase assumes you're either serving localhost over port 4101, or the staging/production domains at port 80.

worker_processes  1;

error_log  logs/error.log;
error_log  logs/error.log  notice;
error_log  logs/error.log  info;

events {
    worker_connections  1024;
}

http {
    include       mime.types;
    default_type  application/octet-stream;
    sendfile        on;
    keepalive_timeout  65;
    ## malcolmdiggs.com
    server {
        listen       4101;
        server_name  localhost_4101;

        location / {
                root   /Users/Malcolm/Documents/github/malcolmdiggs.com/dist;
                try_files $uri /index.html;
        }

    }

}

Report Bugs / Request features

Found a bug? Please report it in the issues tab.

If there's a new feature you want you can either:

  • Create an issue (see above) and label it accordingly
  • Send a tweet to @malcolmkdiggs
  • Starting building it yourself (see contribution-guidelines below).

Contribute

Fixed a bug? Added a feature? Feel free to submit a pull request.

License

The MIT License (MIT)

Copyright (c) 2014 Malcolm Diggs

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Package Sidebar

Install

npm i malcolm

Weekly Downloads

2

Version

2.1.0

License

MIT

Last publish

Collaborators

  • malcolmdiggs