This repository has been archived on 2023-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
imagini/README.md

37 lines
736 B
Markdown
Raw Normal View History

2021-02-20 19:10:25 +00:00
# Imagini
A self hosted photo library with user management & authentication. Cross platform Client supporting Android, iOS, and Web.
2021-02-11 20:47:42 +00:00
2021-02-20 19:10:25 +00:00
## Server
2021-02-21 17:31:03 +00:00
### Dependencies
- libvips 8.3+ (8.8+ recommended)
2021-02-20 19:10:25 +00:00
### Running
2021-02-11 20:47:42 +00:00
2021-02-20 19:10:25 +00:00
CONFIG_PATH=$(pwd) DATA_PATH=$(pwd) go run cmd/main.go serve
## Building
# Generate GraphQL Models
2021-02-11 20:47:42 +00:00
go run github.com/99designs/gqlgen generate
2021-02-20 19:10:25 +00:00
go run cmd/main.go generate
2021-02-11 20:47:42 +00:00
2021-02-20 19:10:25 +00:00
# Generate GraphQL Documentation
2021-02-11 20:47:42 +00:00
graphdoc -e http://localhost:8484/query -o ./docs/schema
2021-02-20 19:10:25 +00:00
## Client
See `web_native` subfolder.
### Running
2021-02-11 20:47:42 +00:00
2021-02-20 19:10:25 +00:00
# Chrome
flutter run -d chrome
# Simulator
open -a Simulator
2021-02-11 20:47:42 +00:00
flutter run
2021-02-20 19:10:25 +00:00
### Building
# Generate GraphQL Flutter Models
2021-02-11 20:47:42 +00:00
flutter pub run build_runner build