Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.
romainmoreau edited this page Aug 29, 2019 · 4 revisions

Initial server configuration and deployment

  • npm run build --prod
  • apt install nginx
  • Copy dist/gas-sensor-ui files to /var/www/html/
  • Add in /etc/nginx/sites-enabled/default:
        location /api {
                proxy_pass http://localhost:9090/;
        }
  • service nginx restart
Clone this wiki locally