GithubHelp home page GithubHelp logo

forrest-wilson / nzoils Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 89.53 MB

NZOils Website

Home Page: http://nzoils.com/

JavaScript 15.27% HTML 42.97% Shell 0.11% Rich Text Format 1.41% SCSS 40.25%

nzoils's Introduction

Getting Started

Before you start, please follow the steps below to get yourself up and running with a working development environment.

Prerequisites

Please make sure the following command line tools are installed on your machine.

  • NPM - Node Package Manager

This project uses Gulp for workflow automation. If you are unfamiliar, please get yourself acquainted with the basics and familiarize yourself with the gulpfile.js.

Commands

Installing the Node Packages

To ensure you have the required node packages, please enter the below command in terminal to install the node_modules on your machine.

Note: Please make sure you are in the root directory of the project before running any of the below commands.

npm install

This will install all dependencies and devDependencies required to build and run this project.

Building the Temp folder for Development

Open a terminal window and run the below command.

npm run start

This should build the project and create a 'temp' folder where the compiled code is saved. Terminal will continue to listen for any changes made to files in the 'src' directory and re-build whenever anything is saved.

Note: The 'temp' folder is NOT to be added to the repo.

Building the Dist folder for Production

Run the below command when you are ready to distribute the current version of the site.

npm run build

This will rebuild the 'temp' folder and create the 'dist' folder containing all files ready for deployment.

There is also a handy shell script housed in this repo that will build the dist folder for you.

Note: Please ensure all features work by running the 'npm run start' command before deploying the 'dist' folder to any live servers.

Updating after new node module installs

Once a new node module is being used, please run the below command to update your node_modules folder.

npm install

Once this has been run, it is a good idea to re-run the start command in terminal.

Libraries

This project uses the following libraries:

Contributors

nzoils's People

Contributors

forrest-wilson avatar fpwl avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.