Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

MassConfusion/ProjectBacon

Repository files navigation

Project Bacon

License Build Status

Getting started

This project requires node.js v8.x.x or higher and npm 5.x.x or higher to be able to work properly.

Prerequisites

Do the following to install the node.js and npm via nvm (check for the latest nvm here):

# Install the nvm through curl.
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash

# Reload the .bashrc.
$ source ~/.bashrc

# Install the node.js v8 (or higher).
$ nvm install 8

# To start using the installed node.
$ nvm use 8

Start the developer site

# Assumes that you are in the project root directory.

# Install the project dependencies.
$ npm install

# To run the livereload developer site.
$ npm start

Build the project

# Assumes that you are in the project root directory.

# Install the project dependencies.
$ npm install

# To build the production.
$ npm run build

# Optional: To start the server
$ npm start:prod

Run style checker

# To run the eslint.
$ npm run lint

Run style autofix

# To run the eslint.
$ npm run lint-fix

Extra