# mediabox **Repository Path**: GreeneGe/mediabox ## Basic Information - **Project Name**: mediabox - **Description**: No description available - **Primary Language**: Go - **License**: MIT - **Default Branch**: auth - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-02-05 - **Last Updated**: 2025-02-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mediabox ## Getting started ```bash sudo apt-get update sudo apt install libvips libvips-dev export CGO_ENABLED='1' ``` ```bash cd frontend npm install npm run serve ``` ```bash go install github.com/swaggo/swag/cmd/swag@latest ``` ```bash make ``` ```json cat < config.json { "http_host": "127.0.0.1", "http_port": 8000, "use_tls": true, "tls_cert": "server.crt", "tls_key": "server.key", "db_driver": "postgresql", "db_dsn": "host=127.0.0.1 user=mediabox password=123456 dbname=mediabox port=5432 sslmode=disable TimeZone=Asia/Shanghai", "storage_path": "storage" } EOF ``` ```bash ./mediabox start --config config.json ``` ## frontend ```bash vue create frontend ``` ## build dev with docker ```bash make build-dev docker compose up -d make terminal ``` ```bash http://127.0.0.1:8000/webdav/user/admin ```