Sign inSign up

electronicfrontierfoundation/starttls-frontend

By electronicfrontierfoundation

•Updated over 7 years ago

Web front end for the STARTTLS Everywhere project.

Image
0

10K+

electronicfrontierfoundation/starttls-frontend repository overview

⁠STARTTLS Everywhere Front End

⁠Development

⁠Install
  1. Install Hugo⁠, eg. sudo apt install hugo.
  2. Install yarn and Node.
  3. yarn install
⁠Run

yarn run build builds the site to /public once.

yarn run lint runs the sass linter.

yarn run serve watches for changes and serves the site from memory at localhost:1313.

⁠Developing with the STARTTLS Scanner API
  1. Clone https://github.com/EFForg/starttls-scanner⁠ and follow the Docker setup instructions.
  2. Edit the .env file for that project and set ALLOWED_ORIGINS=http://localhost:1313.
⁠Docker

This Dockerfile exists primarily for deploys. However, it can be run with

docker build -t starttls-frontend .
docker run --rm --name starttls-frontend-nginx -d -p 8080:80 starttls-frontend

Tag summary

Content type

Image

Digest

Size

72.6 MB

Last updated

over 7 years ago

docker pull electronicfrontierfoundation/starttls-frontend