- Download and install last Node.js LTS-version.
- Open console and run
node -v
command to check that Node.js version is at leastv8.11.3
; - Run in console
npm -v
command to check that npm version is at least5.6.0
; - Download and install Git, in case you don't have it installed;
- Run in console
git --version
command, to check Git version, should be at least2.18.0
; - Clone and launch the project:
git clone https://github.com/NtonBala/signup-module.git
; - Run in console
cd signup-module
; - Run
npm install
to install project dependencies; - Run
npm start
to start project in development mode; - Open http://localhost:3000 in your browser.
Note: launch with
yarn «command»
ornpm run «command»
.
Command | Description |
---|---|
start |
launch in development-mode |
build:prod |
launch build |
build:analyze |
launch build and analyze build result |
lint:javascript |
analyse source JavaScript code stylystic mistakes |
lint:css |
analyse source CSS-code stylictic mistakes |
lint |
analyse all source code sylistic mistakes |
test |
launch tests |
test:watch |
launch tests in watch-mode |
test:debug |
launch tests in debug-mode |
soundcheck |
launch all linters and tests |
prettier |
format source code with Prettier |
deploy |
deploy to GitHub Pages |
Staging is available on Github Pages: https://ntonbala.github.io/signup-module