lenticular_cloud2/Makefile

16 lines
460 B
Makefile
Raw Normal View History

2020-05-09 18:00:07 +00:00
build-browser-app:
npm install
2022-02-04 21:37:09 +00:00
node ./node_modules/webpack-cli/bin/cli.js
2020-05-09 18:00:07 +00:00
server_keys: https.crt https.key
https.key:
openssl genrsa -passout 'pass:' -out https.key
https.crt: https.key
openssl req -x509 -key https.key -out https.crt -days 365 -subj "/C=US/ST=Test/L=Test/O=Test/CN=account.example.com" -addext "subjectAltName=DNS:account.example.com" \
run: server_keys
./venv/bin/gunicorn wsgi:app -b :9090 --certfile https.crt --keyfile https.key