- Setup three S3 (or S3-compatible) buckets on your provider of choice for
ingest
andpublic
- Ensure the
ingest
bucket has the following CORS configuration:
[
{
"AllowedOrigins": [
"*"
],
"AllowedMethods": [
"PUT"
],
"AllowedHeaders": [
"*"
],
"ExposeHeaders": [
"ETag"
]
}
]
- Ensure the
public
bucket has the following CORS configuration:
[
{
"AllowedOrigins": [
"*"
],
"AllowedMethods": [
"GET"
]
}
]
- Install
git-lfs
, Docker,nix
, anddirenv
- Clone this repo
- Copy
.envrc.local.example
to.envrc.local
and update the variables to actual values - Run
direnv allow
to load the shell environment - Run
just start
to start thedocker-compose
setup - Run
just init
to migrate the database and set up ElasticSearch - Run
just seed
to seed the database with sample data and upload sample data to S3 - Run
just open
to open the web interface - For host-local editor autocomplete and running scripts outside of docker, run
just npmci
to install all project dependnecies