~panda-roux/MoonGem

ref: fee4c7c3300f74d8444be03923034bd4973258aa MoonGem/test/setup.sh -rwxr-xr-x 286 bytes
fee4c7c3 — panda-roux adding a testing framework 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh


# 1. Set up Python virtualenv and install requirements

python -m venv env
source env/bin/activate
pip install ignition-gemini 
deactivate


# 2. Generate certificates

openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 3650 -nodes -subj "/CN=localhost"