This repo will ultimately be for the main metadata website we use for the client application. It will be hosted on the official website. I hope this can be one day used to aggregate the other metadata agents into here.
Todo:
- #1 Priority: Implement Full-Text Search
- Implement database migrations
- Member management
- Allow users to upload drafts of their own to this server if they're linked.
- Add task to search agents for new external searchs as to not overwhelm agents
- and more in TODO comments throughout the code
To run and build the application you need to do the following:
Install Rust. It's used for coding this whole application.
Install Trunk. It's used for building the frontend.
Import the submodules
git submodule update --init
Inside root folder execute these commands:
cargo run --bin librarian-backend
Execute one of these commands
To build:
cd crates/frontend
trunk build --public-url "/dist" -d "../../app/public/dist"
To build and watch:
cd crates/frontend
trunk watch --public-url "/dist" -d "../../app/public/dist"