Skip to content

Trouble w/ local development #8

@cfchris

Description

@cfchris

I want to start helping out with the front end (specifically cleaning up JS for readability, scoping and performance).

I have had a couple of issues trying to get started tonight.

  1. The index.html (specifically the head) is quite different than what is in production. Production relatively includes things like <script src="leaflet.js"></script>. The repo has includes like <script src="https://fastpokemap.se/beta/leaflet.js"></script>. What makes this even worse, is that there isn't even a "beta" folder in the repo.
  2. The server will only respond to api/cache requests that originate from https://fastpokemap.se. So, in order to really test that JS is working, I would need to add 127.0.0.1 fastpokemap.se to my host file and setup a web server with a cert.

I don't have any problem serving http://fastpokemap.se/ from 127.0.0.1 pointed at the repo root. But, I am not a system admin / ops guy. Let me know if I'm missing some other obvious way to work on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions