Причёсинг

This commit is contained in:
2026-04-16 15:30:19 +03:00
parent 5bbee7caa6
commit 4f00554147
4 changed files with 15 additions and 8 deletions

View File

@@ -34,7 +34,7 @@ AE Anons автоматизирует создание видеороликов
### 1. Клонирование репозитория ### 1. Клонирование репозитория
```bash ```bash
git clone https://github.com/your-org/ae_anons.git git clone https://git.tvstart.ru/lexx/AE_Anons.git
cd ae_anons cd ae_anons
``` ```
@@ -51,12 +51,17 @@ cargo build --release
Создайте файл `.env` в корне проекта: Создайте файл `.env` в корне проекта:
```env ```env
NAS_FQDN=https://your-synology-nas.example.com:5001 # Synology NAS
NAS_USER=service_account NAS_FQDN=https://your-nas.domain.com
NAS_PASS=secure_password NAS_USER=your_username
NAS_FILE=/Team Folder/Broadcast/Auto_Anons/schedule.osheet NAS_PASS=your_password
NEXRENDER_API_URL=http://nexrender-server:3000/api/v1/jobs NAS_FILE=/team-folders/path/to/your/file.osheet
OUTPUT_FOLDER=//file-server/edit/Auto_Anons
# Nexrender
NEXRENDER_API_URL=http://your-nexrender-server:3000/api/v1/jobs
OUTPUT_FOLDER=//your-storage/path/to/output
# Logging
RUST_LOG=info RUST_LOG=info
``` ```

View File

@@ -2,7 +2,7 @@ mod config;
mod nexrender; mod nexrender;
mod synology; mod synology;
use anyhow::{anyhow, Context, Result}; use anyhow::{anyhow, Result};
use calamine::{Data, Reader, Xlsx}; use calamine::{Data, Reader, Xlsx};
use chrono::{Duration, NaiveDate}; use chrono::{Duration, NaiveDate};
use config::Config; use config::Config;

View File

@@ -1,3 +1,4 @@
#![allow(dead_code)]
use chrono::{Datelike, NaiveDate}; use chrono::{Datelike, NaiveDate};
use serde::Serialize; use serde::Serialize;
use serde_json::json; use serde_json::json;

View File

@@ -1,3 +1,4 @@
#![allow(dead_code)]
use log; use log;
use reqwest::{ use reqwest::{
multipart::{Form, Part}, multipart::{Form, Part},