main application, still under reconstruction
prefer yarn to npm due to problems some had while installing node_modules with npm
to install yarn globally run sudo npm i -g yarn
- install npm (usually bundled with nodejs):
apt-get install nodejsor something along these lines - run
yarn installornpm installin package folder to download required node_modules - to run in developer mode locally:
yarn startornpm run start, then head to http://localhost:9001 - to bundle all css and js files for production run
yarn buildnpm run build, bundled files will be available at ./dist - deployment: execute
./deploy.sh, this will update repo on host machine and place built withnpm run buildbundle into /var/www