Giter Club home page Giter Club logo

officers-log's Introduction

Officer’s Log: Can Time Tracking be Cool?

This app does two things:

App is hosted on Github Pages. Go to it here!

https://kvimber.github.io/officers-log/

Commands

Find Github Pages Build

CLI: gh api repos/:owner/:repo/pages/builds/latest

Local: Run: python3 -m http.server

  • all you really need to do is serve the files locally
  • I tend to do this with python
  • python3 version is above
  • for python2, I think the command is this:
    • python -m HTTP.Server
    • but I’m not sure, so you might have to look it up if it doesn’t work (/ check CLI history)

What’s Next?

Automate Chrome Lighthouse Checks

Actually write the code I want?

Story

[2020-10-25 Sun] Fix slashes because site not served from domain root

  • turns out a lot of the pages were getting 404 results
  • found running Lighthouse tools PWA Audits
  • wasn’t sure about the issue, but I could see a number of the resources were trying to be loaded from the domain root
    • ie: kvimber.github.io/manifest.json
    • rather than at the project subdomain: officers-log/manifest.json
  • so I tried removing the root slashes from the beginning of the URLs in the code
  • did this in commit 661cbb90
  • worked!

[2020-10-25 Sun] Configure Github to Serve the Site

  • this was pretty simple, but there was a timing hiccup that I didn’t understand at first
  • just set the publishing source from the repo settings
  • the hiccup was that the project needs a Github Pages build to run after you configure this
  • so there’s a bit of a delay until the site really shows up
  • which I later found I could figure out using the Github CLI
    • specifically the API subcommand
    • look to the “Find Github Pages Build” command above for how to do this

[2020-10-25 Sun] Initial Site Creation

officers-log's People

Contributors

kvimber avatar

Watchers

 avatar

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.