lenticular_cloud2/Makefile

18 lines
499 B
Makefile
Raw Permalink 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" \
2022-02-19 09:21:00 +00:00
clean:
rm lenticular_cloud/static -rf
2020-05-09 18:00:07 +00:00
run: server_keys
./venv/bin/gunicorn wsgi:app -b :9090 --certfile https.crt --keyfile https.key