yrevocnu / psychedelic-glass-bead-game

1 stars 2 forks source link

web app is blank except for non-function reset button #4

Open sbenthall opened 4 years ago

sbenthall commented 4 years ago

On local install, following README instructions with fix mentioned in #3

The web app looks like this:

image

'reset' button is nonfunctional

benheller commented 4 years ago

If you look in your browser's network console, are your network requests succeeding? If not, what error are they failing with? Can you hit the API routes using curl?

Without any additional information, I'd guess you're running only the web app and not the server app, though that's pure speculation. You need to be running yarn debug (in the project root) and yarn dev (in the web root) to have the API and web app running at the same time.

sbenthall commented 3 years ago

I'm thinking maybe my next step on PGBG should be on the web app side of things, as this may be the right vector for building out User tracking/profiles, a "scoreboard", etc.

Is there a live version of the site anywhere that I can look at to compare with what I'm seeing locally?

benheller commented 3 years ago

I stripped the web app when I refactored the server piece. I still have the code somewhere on an old laptop, but you might be better off starting fresh. It was a total hackjob done in a few hours during Event 4. I'd still recommend using Svelte, it was very pleasant to work with.

sbenthall commented 3 years ago

oh, huh. I didn't realize that Svelte was a reactive programming system. My first computer job was a summer RA position on a functional reactive programming language. It was like this, but for a flavor of LISP.