dwyl / reading-tracker

A metronome for speed reading that emits a discrete reminder to turn the page.
GNU General Public License v2.0
3 stars 1 forks source link

Reading Tracker #6

Open nelsonic opened 5 years ago

nelsonic commented 5 years ago

Need to Transpose my notebook notes into issues/checklist. 00100lPORTRAIT_00100_BURST20190310093552108_COVER 00100lPORTRAIT_00100_BURST20190310093613535_COVER 00100lPORTRAIT_00100_BURST20190310093620826_COVER

RobStallion commented 5 years ago

@nelsonic I really like this idea and would love to help out with this 😄

nelsonic commented 5 years ago

If it's not immediately clear why this ER diagram fits the Reading Tracker app, don't worry, it will make sense soon enough. Trying to create a general purpose App that will be useful for the specific use case. dwyl-time-app-er-diagram-list_items

nelsonic commented 5 years ago

that feeling when you realise that you're working too hard? working-to-hard

There's a library of schemas that we're ignoring ... in-the-computer

https://schema.org/docs/full.html magnum

Going to see how much of Schema.org I can use and link to. image

iteles commented 5 years ago

Can I just say this is the best compendium of gifs I've seen in a while 😆

nelsonic commented 5 years ago

@iteles indeed. 😉

Aparently we can use both RDFa and Microdata in the same doc: https://stackoverflow.com/questions/8957902/microdata-vs-rdfa it's not pretty, but if our objective was to maximise parse-ability (SEO) then it could make sense.

Further reading:

nelsonic commented 4 years ago
nelsonic commented 4 years ago

Before

After

all that has changed is that we have reverted to person as the record type and using givenName and familyName (neither of which I am a particular fan of) for fields to match the Schema.org/Person

By changing the data type name to Person we return to our original naming; that's a positive. 👍 But it means we need to update all instances of human_id:references:humans to person_id:references:people 📝

nelsonic commented 4 years ago

Given that it's more hassle to manually change each instance of human_id to person_id and update file/module names, tests, etc. I'm thinking of just nuking the /lib, /priv and /test directories and starting fresh. 🤔

nelsonic commented 4 years ago

Wipe the old app from the repo:

git rm lib priv test mix.exs mix.lock -r 

Update Phoenix to 1.4.10 https://hexdocs.pm/phoenix/installation.html#phoenix

mix archive.install hex phx_new 1.4.10

Create new app from scratch:

mix phx.new app

Follow the create schema steps in: https://github.com/nelsonic/time-mvp-phoenix#create-schemas

nelsonic commented 4 years ago

Fetch and install dependencies? [Yn] y

We are almost there! The following steps are missing:

$ cd app

Then configure your database in config/dev.exs and run:

$ mix ecto.create

Start your Phoenix app with:

$ mix phx.server

You can also run your app inside IEx (Interactive Elixir) as:

$ iex -S mix phx.server
nelsonic commented 4 years ago
mix ecto.drop
mix ecto.create
mix ecto.migrate
nelsonic commented 4 years ago

Reading Tracker

This feature will be built as soon as the todo list feature is working ... see: time-mvp-phoenix/issues/3

Book Schema

A basic schema for storing book data based on see: time-mvp-phoenix/issues/11

nelsonic commented 2 years ago

I know it's been a long time since I've looked at this ... ⏳ But recently finished putting together the Library Shelves https://github.com/dwyl/home/issues/179#issuecomment-1046326147 📚 🙌 So going to re-visit building a basic reading tracker app after https://github.com/dwyl/sleep/issues/53 🛌