updates readme
This commit is contained in:
16
README.md
16
README.md
@@ -1,10 +1,7 @@
|
|||||||
<h1 align="center">
|
|
||||||
<br>
|
<div style="text-align: center">
|
||||||
<img src="/web/static/favicon.png" height="256px" width="256px">
|
<img src="web/static/svgs/logo_text_two_line_dark.svg" height="256" width="256">
|
||||||
<br>
|
</div>
|
||||||
wanderer
|
|
||||||
<br>
|
|
||||||
</h1>
|
|
||||||
|
|
||||||
<h4 align="center">The trail catalogue that makes your GPS data searchable</h4>
|
<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
|
## Core Features
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
- Manage your trails
|
- Manage your trails
|
||||||
- Extensive map integration and visualization
|
- 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
|
- Advanced filter and search functionality
|
||||||
- Create custom lists to organize your trails further
|
- 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
|
# clone the git repository
|
||||||
git clone https://github.com/Flomp/wanderer
|
git clone https://github.com/Flomp/wanderer
|
||||||
cd wanderer
|
cd wanderer
|
||||||
|
# build and launch via docker compose
|
||||||
docker compose up -d --build
|
docker compose up -d --build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,9 @@ services:
|
|||||||
db:
|
db:
|
||||||
container_name: wanderer-db
|
container_name: wanderer-db
|
||||||
build: ./db
|
build: ./db
|
||||||
|
depends_on:
|
||||||
|
search:
|
||||||
|
condition: service_healthy
|
||||||
environment:
|
environment:
|
||||||
<<: *cenv
|
<<: *cenv
|
||||||
ports:
|
ports:
|
||||||
@@ -34,6 +37,9 @@ services:
|
|||||||
web:
|
web:
|
||||||
container_name: wanderer-web
|
container_name: wanderer-web
|
||||||
build: ./web
|
build: ./web
|
||||||
|
depends_on:
|
||||||
|
db:
|
||||||
|
condition: service_healthy
|
||||||
environment:
|
environment:
|
||||||
<<: *cenv
|
<<: *cenv
|
||||||
ORIGIN: http://localhost:3000
|
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) {
|
export function getFileURL(record: { [key: string]: any; }, filename?: string) {
|
||||||
if (!filename) {
|
if (!filename) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
// return pb.files.getUrl(record, filename);
|
|
||||||
return `/api/v1/files/${record.collectionId}/${record.id}/${filename}`
|
return `/api/v1/files/${record.collectionId}/${record.id}/${filename}`
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
import { pb } from "$lib/pocketbase";
|
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) {
|
export async function GET(event: RequestEvent) {
|
||||||
const parts = [];
|
const parts = [];
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
let activeTab = 0;
|
let activeTab = 0;
|
||||||
|
|
||||||
const thumbnail = $trail.photos.length
|
const thumbnail = $trail.photos.length
|
||||||
? getFileURL(trail, $trail.photos[$trail.thumbnail])
|
? getFileURL($trail, $trail.photos[$trail.thumbnail])
|
||||||
: "/imgs/default_thumbnail.webp";
|
: "/imgs/default_thumbnail.webp";
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
let lightboxDataSource: DataSource;
|
let lightboxDataSource: DataSource;
|
||||||
|
|
||||||
const thumbnail = $trail.photos.length
|
const thumbnail = $trail.photos.length
|
||||||
? getFileURL(trail, $trail.photos[$trail.thumbnail])
|
? getFileURL($trail, $trail.photos[$trail.thumbnail])
|
||||||
: "/imgs/default_thumbnail.webp";
|
: "/imgs/default_thumbnail.webp";
|
||||||
|
|
||||||
onMount(async () => {
|
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