Add README

This commit is contained in:
Julien Blanchard 2019-07-27 17:59:26 +02:00
parent e1da0758dc
commit 2e3fbee17f
1 changed files with 28 additions and 0 deletions

28
README.md Normal file
View File

@ -0,0 +1,28 @@
# pollux
pollux is a Gemini Project server written in Rust.
## Installation
- clone the repository
- install openssl development headers
- run `cargo build --release`
- run target/release/pollux your_key.pfx your_key_password
Pollux will for now only serve an index.gemini file that has to be where you cloned pollux.
## Generating a key
Here are the steps I took, maybe there is a simpler way:
```
λ openssl genrsa -out key.pem 1024
λ openssl req -new -key key.pem -out request.pem
λ openssl x509 -req -days 3650 -in request.pem -signkey key.pem -out certificate.pem
λ openssl pkcs12 -export -inkey key.pem -in certificate.pem -name pollux -out pollux.pfx
```