Skip to content

inventaire/inventaire-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Development

# 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

Deploy

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

Releases

No releases published

Packages

No packages published