Skip to content

Landing page for the unicorn factory at theunicornfactory.github.io / theunicornfactory.is / uflabsykocgfkhkxo6fq4fzike4cxpq2dhcqsj3kosgprpkc6hva2iid.onion

License

Notifications You must be signed in to change notification settings

theunicornfactory/theunicornfactory.github.io

Repository files navigation

The Unicorn Factory Site

Travis Build Status

Gitlab build status

Adding a portfolio

Simple add it into "_posts" directory

Refer to the existing entries.

Image Specs

  • For best results, must be at least 900x650

Building

Install all dependencies

Because this is a ruby site you need to install all the dependencies

bundle install

Install/Update all the Submodules

git submodule foreach git pull origin master

Install the server

bundle exec jekyll serve

SSL Certificate Maintenance

Run the letsencrypt scripts

Run the letsencrypt scripts and generate the certificate (they are in nolim1t/docker-letsencrypt)

Configuration

S3 Bucket Name ssl-challenge.theunicornfactory.is

Copy the certificate from the container to local file system

If it doesn't exist locally

docker cp CONTAINERNAME:/etc/letsencrypt/archive/DOMAINNAME .

Upload the certificates

Where cert1.pem is the certificate, privkey1.pem is the private key, chain1.pem is the certificate chain, and YYYYMMDDHHMM is the timestamp.

aws --profile=uftechadmin iam upload-server-certificate \
--server-certificate-name=theunicornfactoryYYYYMMDDHHMM \
--certificate-body=file://./cert1.pem \
--private-key=file://./privkey1.pem \
--certificate-chain=file://./chain1.pem \
--path=/cloudfront/

Go into Cloudfront control panel

Go into control panel and switchover the certificate.

Optionally you should delete the old certificate run you're done.

List certificates

aws --profile=uftechadmin iam list-server-certificates

Delete command

 aws --profile=uftechadmin iam delete-server-certificate --server-certificate-name CERTIFICATENAME

About

Landing page for the unicorn factory at theunicornfactory.github.io / theunicornfactory.is / uflabsykocgfkhkxo6fq4fzike4cxpq2dhcqsj3kosgprpkc6hva2iid.onion

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published