0.2.0 • Published 5 years ago

@pushdoctor/stylekit v0.2.0

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
5 years ago

Push Doctor Stylekit

The javascript and SCSS files used for Pushdoctor 2018

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them 1. Install Node - https://nodejs.org/en/download 2. Install npm (node package manager) - https://www.npmjs.com/get-npm 3. Install gulp - in your command line

npm install --global gulp-cli
  1. Clone Repo - in your command line, navigate to where you want the repo to live locally, enter the
https://pdrteam.visualstudio.com/DefaultCollection/Push%20Doctor%20Global/_git/nhsSite

Installing

Navigate into the cloned repo, then enter in your command line

npm install

Serving demo pages within the project

To build out the project, in your command line, enter

npm run start

The project will run, and will automatically open a browser window at localhost:3000/index.html. Files are served from dist. This will run a watch command so you can see any changes you make to the code (src/scss, src/templates, src/js) in that browser window.

Deployment

The environment file in the root of the project contains your settings that are subbed in as nunjucks template vars.

Deployment is done to an npm private repo under @pushdoctor. Contact Kevin, Rob or Matthew to be added as a developer, you will need this.

Enter your @pushdoctor npm details otherwise you will NOT be able to publish the repository.

npm login

To patch and deploy e.g. 0.0.1 to 0.0.2

 NODE_ENV<env> npm run release-patch

To minor version increment and deploy e.g. 0.0.1 to 0.1.1

 NODE_ENV<env> npm run release-minor

To major version increment and deploy e.g. 0.0.1 to 1.0.1

 NODE_ENV<env> npm run release-major

To prelease a beta version and deploy e.g. 0.0.1 to 0.0.2-1

 NODE_ENV<env> npm run release-beta

Build Styleguide

How to build the Styleguide

Open command line and enter the following

npm run styleguide

The styleguide will build out to styleguide/index.html

Deploy PushNHS to S3 Bucket

npm run deployaws

Thats it.. it deploys all the sites into one bucket. Home pages are :

Serving a local host build

npm run start

Then type in when asked which one you want to build locally and serve.

Locally you navigate relative to 'dist' folders contents.

0.2.0

5 years ago

0.1.3-18

5 years ago

0.1.3-16

5 years ago

0.1.3-15

5 years ago

0.1.3-14

5 years ago

0.1.3-13

5 years ago

0.1.3-12

5 years ago

0.1.3-11

5 years ago

0.1.3-10

5 years ago

0.1.3-9

5 years ago

0.1.3-8

5 years ago

0.1.3-7

5 years ago

0.1.3-6

5 years ago

0.1.3-5

5 years ago

0.1.3-4

5 years ago

0.1.3-2

5 years ago

0.1.3-1

5 years ago

0.1.3-0

5 years ago

0.1.2

6 years ago

0.1.0

6 years ago

0.0.15

6 years ago

0.0.15-24

6 years ago

0.0.15-23

6 years ago

0.0.15-22

6 years ago

0.0.15-21

6 years ago

0.0.15-20

6 years ago

0.0.15-19

6 years ago

0.0.15-18

6 years ago

0.0.15-17

6 years ago

0.0.15-16

6 years ago

0.0.15-15

6 years ago

0.0.15-14

6 years ago

0.0.15-13

6 years ago

0.0.15-12

6 years ago

0.0.15-11

6 years ago

0.0.15-10

6 years ago

0.0.15-9

6 years ago

0.0.15-8

6 years ago

0.0.15-7

6 years ago

0.0.15-6

6 years ago

0.0.15-4

6 years ago

0.0.15-3

6 years ago

0.0.15-2

6 years ago

0.0.15-1

6 years ago

0.0.15-0

6 years ago

0.0.14

6 years ago

0.0.14-5

6 years ago

0.0.14-4

6 years ago

0.0.14-3

6 years ago

0.0.14-2

6 years ago

0.0.14-1

6 years ago

0.0.14-0

6 years ago

0.0.13

6 years ago

0.0.12-3

6 years ago

0.0.12-2

6 years ago

0.0.12-1

6 years ago

0.0.12-0

6 years ago

0.0.11

6 years ago

0.0.11-2

6 years ago

0.0.11-1

6 years ago

0.0.11-0

6 years ago

0.0.10

6 years ago

0.0.10-0

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.4-0

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago