Skip to content

maxmartynov/personal-site

Repository files navigation

Personal Web Site

It's built with:

Install

  1. Ensure Node.js and NPM versions meets the engines property in the package.json. For example:

    "engines": {
      "node": "8.12.0",
      "npm": "6.4.1"
    }

    NOTE: the project contains .nvmrc file, so you can use NVM: nvm use

  2. Install NPM dependencies

    npm install
  3. Configure environment variables.

Run

Before running make sure that you've configured environment variables.

Development

Compile and run hot-reload server
npm run dev
# or
npm run serve
Lint and fixe files
npm run lint

Production

Build application
npm run build

# build for production and view the bundle analyzer report
npm run build --report
Run the built production app for tests
npm run prod

Deploy on Firebase Hosting

  1. Login

    npm run firebase:login
  2. Deploy

    npm run deploy