Skip to content

mabenj/holvi-app

Repository files navigation

Holvi app

Deploy Docker

Adjust docker-compose.yml as desired and run:

docker-compose up -d

Development

Setup database

Setup database by building and spawning a database container.

docker build -t holvi-db-dev ./src/db
docker run -d --name holvi-db-dev -p 5432:5432 -v holvi-db-data-dev:/var/lib/postgresql/data -e POSTGRES_USER=admin -e POSTGRES_PASSWORD=<db password> -e POSTGRES_DB=holvi holvi-db-dev

Setup environment variables

Create a .env.local file in the root of the project and add the following variables:

HOLVI_DB_CONNECTION_STRING=postgres://admin:<db_password>@localhost:5432/holvi

HOLVI_DATA_DIR=<directory to hold app data>

HOLVI_SESSION_PASSWORD=<32 character long session password>

HOLVI_GEO_API_KEY=<reverse geocoding API key (https://www.bigdatacloud.com/packages/reverse-geocoding)>

HOLVI_ENCRYPTION_KEY=<32 character long encryption key>

Install dependencies

yarn install
# or
npm install

Start dev server

yarn dev
# or
npm dev

Open browser

Open http://localhost:3000 and start coding.

About

Secure self hosted cloud storage system for videos and images

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages