Coder Social home page Coder Social logo

Netlify Status Typechecking, linting, build, and end to end tests

Hockeybuggy.com

The personal website of Douglas James Anderson.

Dependencies

This repo expects a version of node as well as yarn installed. This README assumes that fnm is used (but there is nothing wrong with other methods of installing node).

Making Changes

Download the repository and install dependencies:

git clone [email protected]/hockeybuggy/hockeybuggy.com.git
fnm use
yarn install

Edit posts

To write a new post start with:

./scripts/new_post

You can also use flags to set date or title

./scripts/new_post --title "great title" --date 2014-12-15

Build the site

Generate and watch the site with:

./scripts/server

To simulate a production build locally:

yarn run build
cd public
python3 -m http.server 8888
cd -

Running the tests

To check the built site with an headless browser test:

./scripts/test

To check just one page:

./scripts/test landingPage

To view the tests running:

HEADLESS=false ./scripts/test

To view the tests running in slow motion:

SLOWMO=100 HEADLESS=false ./scripts/test

The tests will also run for every CI build. It will also upload the screenshots it takes as artifacts. You can find the artifacts by clicking the ... on a workflow and downloading the zip file.

Deployment

This site is hosted on Netlify. To deploy just push to the main branch on GitHub:

git push origin main

Douglas Anderson's Projects

clonenames icon clonenames

A clone a 5x5 board game about guessing words: https://clonenames.hockeybuggy.com/

codenames icon codenames

Play codenames using a TV or computer for the board

cynic icon cynic

A bring your own types GraphQL client library for Rust

django-dashing icon django-dashing

django-dashing is a customisable, modular dashboard application framework for Django to visualize interesting data about your project. Inspired in the dashboard framework Dashing

jekyll icon jekyll

Jekyll is a blog-aware, static site generator in Ruby

llc-intro-to-python icon llc-intro-to-python

Full day Intro to Programming and Python (SLIDES - http://ladieslearningcode.github.io/llc-intro-to-python/slides.html), (LEARNER FILES - http://bit.ly/29toeSb), no sample project

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.