Static front end for the STARTTLS scanner
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
archetypes
content fix(content): no more 'click heres' and add a short explanatory section Aug 8, 2018
data
js
layouts
sass
static
.dockerignore
.gitignore
.sass-lint.yml linting May 14, 2018
.travis.yml
Dockerfile
LICENSE.txt
README.md
config.dev.toml
config.prod.toml
config.toml
package.json
yarn.lock

README.md

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