diff --git a/README.md b/README.md index 7b457fc..ec02f4f 100644 --- a/README.md +++ b/README.md @@ -34,3 +34,24 @@ Additionally, there's no obligation to do so, but if you'd like to support my wo - Some sort of hosted API - Dark mode - Toggle to use system-agnostic icons for those stuck on Windows 7 without emoji support + + +## How to build and run on your server. +Those commands are for Linux-based computer. + +apt install npm +apt install vue +apt install rustup +apt install nodejs +npm install -g yarn + +npm install --force +npm run build + +Your working website will be in dist folder. +copy dist folder to a place on your web server. +you can rename dist to something memorable. + + + + diff --git a/webpack.config.js b/webpack.config.js index d570f9c..1125bc6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,3 +1,7 @@ +const crypto = require("crypto"); +const crypto_orig_createHash = crypto.createHash; +crypto.createHash = algorithm => crypto_orig_createHash(algorithm == "md4" ? "sha256" : algorithm); + const child_process = require('child_process') const path = require('path') const CopyPlugin = require('copy-webpack-plugin')