Skip to content

aOpenbrier/SMPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMPT Santa Monica Physical Therapy Orthopedic & Sports Physical Therapy

SMPT website & build tools

Installation

Project uses node server environment. If you haven't already, install Node.js

  • To verify Node installation, enter at command line: node --version
  1. Download repository and unzip
  2. Install dependencies:
    • Using Command Line (Win: cmd or powershell, Mac: terminal) navigate to application directory e.g. cd downloads/SMPT-master
    • From within application directory, enter at command line: npm i

Using Application

HTML, SCSS, and Javascript files for editing are stored in src directory.
Additional files for upload without processing website are in src/assets directory. Temporary build files stored in build directory Processed files output to publish directory

Scripts

Use npm scripts at Command Line from within application directory

Build

npm run build
Processes src directory with the following step:
-clean: empties build directory and publish/assets. -sass: compile SCSS to CSS and output to build directory. -autoprefix: add vendor prefixes for higher browser compatibility to css in build directory and output to publish. -babel: compile JavaScript to ES5 for higher browser compaitibility and output to publish directory. -copy: moves additional files to publish directory

Deploy

npm run deploy Upload publish directory to gh-pages branch of GitHub repository.

  • Must run npm run build before deploying.
  • Must be a contributer to desired repository
  • package.json should contain correct "homepage" and "repository" url.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published