Lxinyuelxy / hello-ops-girls-demo

A web app demo for DevOps girls workshop.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hello-ops-girls

Github Actions Playbook

This is a recreation of Google's Dino Game, the one that you can play when you don't have an internet connection. This game was made using TypeScript and Node.js.

Playing the Game

You can run the game going to the GitHub page.

Local Running

Prerequisites

You'll need:

  • Node.js
    • apt-get install nodejs
  • TypeScript
    • node i -g typescript

To download the code you can clone the Git repo using:

git@github.com:devopsgirl2023/hello-ops-girls.git

Then you can compile the code using the npx tsc command. This will generate the code in the public/ folder.

To run the website on your computer you'll need to have a server running. In this project you can run a simple http server using the yarn start script that just runs the python3 http.server module. It'll run the server on the localhost:8000 address.
Go to http://127.0.0.1:8000/ and you'll be refered to the game where you can play it just like you can on the browser.

About

A web app demo for DevOps girls workshop.


Languages

Language:TypeScript 91.7%Language:HTML 3.3%Language:JavaScript 2.7%Language:CSS 0.9%Language:Shell 0.8%Language:Jinja 0.3%Language:Dockerfile 0.3%