Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 806 Bytes

index.md

File metadata and controls

48 lines (35 loc) · 806 Bytes

Run by source code

Requirements

Deployment

git clone https://github.com/mebtte/cicada.git
cd cicada
npm ci
npm run build:pwa
npm start -- -- start --port <port> --data <data> # attention: double --

When needing upgrade, you should run below commands:

git pull # pull the latest code
npm run build:pwa # rebuild pwa
npm start -- -- start --port <port> --data <data> # restart the server

Migration

git fetch -p
git switch v2
npm ci
npm start -- -- upgrade-data <data>

Music import

# import directory
npm start -- -- import --data /path_to/cicada_data --recursive <music_directory>

# import file
npm start -- -- import --data /path_to/cicada_data <music>

Data fix

npm start -- -- fix-data <data>