This repo generates the HTML + CSS files that make data.inventaire.io.
You could arg that this is an overengineering for a dumb HTML+CSS page. You would be right.
# install
git clone https://github.com/inventaire/inventaire-data.git
cd inventaire-data
npm install
# in one terminal
npm run watch
# in another terminal
npm start
Setup some HTTP file server, for instance with Nginx:
server {
listen 443 ssl http2;
server_name data.inventaire.io;
# See https://letsencrypt.org to get an SSL certificate
# and https://ssl-config.mozilla.org for updated Nginx SSL parameters
root /home/yourserverusername/inventaire-data;
}
npm run build
rsync -ahz --delete --progress ./public/ yourserverusername@yourserverip:~/inventaire-data