-
sudo apt-get install npm
-
npm install -g bower
-
sudo apt-get install nodejs nodejs-legacy
-
cd /path/to/dir/
-
bower install
-
generate server.pem with the following command:
openssl req -new -x509 -keyout server-key.pem -out server.pem -days 365 -nodes
-
place
server.pem
in the same location assimple-https.py
-
cd /path/to/dir/
-
python simple-https.py [port]
-
Open
https://localhost
in any browser (reminder: add [port] if given)
-
npm install cssnano-cli html-minifier uglify-js
-
./build.sh