# Installation

Here you can find installation guide for the application. Follow the steps and if you will jump into any problems contact with other devs, they will help you.

  1. Run following commands in you termnal.
# run node 14
nvm install 14
nvm use 14

# install dependencies
$ npm i / install

# serve with hot reload at localhost:9200
$ npm run dev

# run with pusher creds for livechat
$ PUSHER_KEY=46150aa90d32c2e72666 npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate
  1. Ask any dev for .env file contents. You will need some environmental variables.

# Envs

Check the .env.example file for envs reference. Ask project leader for proper envs.


# Static

If you're working with static JS (static/js) files do not forget to uglify them. Do it like that:

npm install uglify-es -g // install uglify globally
uglifyjs --compress --mangle --output static/js/scripts.js -- static/js/src/*