Skip to content

Commit

Permalink
refactor: move to cities.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Erb3 committed May 22, 2024
1 parent 42e8611 commit 43e5d34
Show file tree
Hide file tree
Showing 8 changed files with 253 additions and 306 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.rs]
indent_size = 4
indent_style = tab
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ WORKDIR /sveio

# Copy our build
COPY --from=builder /sveio/target/x86_64-unknown-linux-musl/release/sveio ./
COPY --from=builder /sveio/capitals.csv ./
COPY --from=builder /sveio/cities.json ./
COPY --from=builder /sveio/frontend ./frontend
# Use an unprivileged user.
USER sveio:sveio

CMD ["/sveio/sveio"]
CMD ["/sveio/sveio"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ Here are some resources to get you started with socketioxide:
## Credits

- [Posio](https://github.com/abrenaut/posio) by [abrenaut](https://github.com/abrenaut)
- [Base country and capitals database](https://gist.github.com/ofou/df09a6834a8421b4f376c875194915c9) by [ofou](https://github.com/ofou)
- [JSON of cities](https://github.com/abrenaut/posio/blob/master/game/data/cities.json) by [abrenaur](https://github.com/abrenaut)
- [Leaflet.js](https://leafletjs.com/)
232 changes: 0 additions & 232 deletions capitals.csv

This file was deleted.

Loading

0 comments on commit 43e5d34

Please sign in to comment.