updates readme
This commit is contained in:
16
README.md
16
README.md
@@ -1,10 +1,7 @@
|
||||
<h1 align="center">
|
||||
<br>
|
||||
<img src="/web/static/favicon.png" height="256px" width="256px">
|
||||
<br>
|
||||
wanderer
|
||||
<br>
|
||||
</h1>
|
||||
|
||||
<div style="text-align: center">
|
||||
<img src="web/static/svgs/logo_text_two_line_dark.svg" height="256" width="256">
|
||||
</div>
|
||||
|
||||
<h4 align="center">The trail catalogue that makes your GPS data searchable</h4>
|
||||
|
||||
@@ -12,9 +9,11 @@ wanderer is a self-hosted trail database. You can upload your recorded tracks an
|
||||
|
||||
## Core Features
|
||||
|
||||

|
||||
|
||||
- Manage your trails
|
||||
- Extensive map integration and visualization
|
||||
- Share trails with other people and explore their's
|
||||
- Share trails with other people and explore theirs
|
||||
- Advanced filter and search functionality
|
||||
- Create custom lists to organize your trails further
|
||||
|
||||
@@ -26,6 +25,7 @@ The recommended and quickest way to install wanderer is using docker compose:
|
||||
# clone the git repository
|
||||
git clone https://github.com/Flomp/wanderer
|
||||
cd wanderer
|
||||
# build and launch via docker compose
|
||||
docker compose up -d --build
|
||||
```
|
||||
|
||||
|
||||
@@ -22,6 +22,9 @@ services:
|
||||
db:
|
||||
container_name: wanderer-db
|
||||
build: ./db
|
||||
depends_on:
|
||||
search:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
<<: *cenv
|
||||
ports:
|
||||
@@ -34,6 +37,9 @@ services:
|
||||
web:
|
||||
container_name: wanderer-web
|
||||
build: ./web
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
<<: *cenv
|
||||
ORIGIN: http://localhost:3000
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
import { pb } from "$lib/pocketbase";
|
||||
import type { FileOptions } from "pocketbase";
|
||||
|
||||
export function getFileURL(record: { [key: string]: any; }, filename?: string) {
|
||||
if (!filename) {
|
||||
return "";
|
||||
}
|
||||
|
||||
// return pb.files.getUrl(record, filename);
|
||||
return `/api/v1/files/${record.collectionId}/${record.id}/${filename}`
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
import { pb } from "$lib/pocketbase";
|
||||
import { error, text, type RequestEvent } from "@sveltejs/kit";
|
||||
import { error, type RequestEvent } from "@sveltejs/kit";
|
||||
|
||||
export async function GET(event: RequestEvent) {
|
||||
const parts = [];
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
let activeTab = 0;
|
||||
|
||||
const thumbnail = $trail.photos.length
|
||||
? getFileURL(trail, $trail.photos[$trail.thumbnail])
|
||||
? getFileURL($trail, $trail.photos[$trail.thumbnail])
|
||||
: "/imgs/default_thumbnail.webp";
|
||||
|
||||
onMount(() => {
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
let lightboxDataSource: DataSource;
|
||||
|
||||
const thumbnail = $trail.photos.length
|
||||
? getFileURL(trail, $trail.photos[$trail.thumbnail])
|
||||
? getFileURL($trail, $trail.photos[$trail.thumbnail])
|
||||
: "/imgs/default_thumbnail.webp";
|
||||
|
||||
onMount(async () => {
|
||||
|
||||
BIN
web/static/imgs/features.png
Normal file
BIN
web/static/imgs/features.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 845 KiB |
128
web/static/svgs/logo_text_two_line_dark.svg
Normal file
128
web/static/svgs/logo_text_two_line_dark.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 12 KiB |
Reference in New Issue
Block a user