Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 493 Bytes

RUNNING.rst

File metadata and controls

24 lines (19 loc) · 493 Bytes

RUNNING

keeping it contained: $ pipenv install $ pipenv run gunicorn mockapi.app:api

If you don't care: $ gunicorn mockapi.app:api

SECRETS

To generate keys used for this api

$ openssl rsa -in init.pem -outform PEM -out private.pem # generate initial private key $ openssl rsa -in init.pem -outform PEM -pubout -out public.pem # strip the passphrase $ openssl rsa -in private.pem -outform PEM -pubout -out public.pem # generate public key