- Unzip
wardrobe-web-ios.zip. - On GitHub, click New repository, name it (e.g.
wardrobe-web-ios), leave "Add a README" unchecked, and create it. - Click uploading an existing file, then drag in everything inside the unzipped
wardrobe-web-iosfolder (not the folder itself).- Hidden files and folders such as
.github,.gitignore,.dockerignore,.gitattributes,.env.example,.npmrcand.claudemust be included. On macOS press Cmd+Shift+. in Finder to show them.
- Hidden files and folders such as
- Commit.
The web uploader has a 100-file limit per upload. If it complains, use option B.
unzip wardrobe-web-ios.zip
cd wardrobe-web-ios
git init -b main
git add .
git commit -m "Wardrobe 2.0: modern redesign, Synology/Docker, iOS connection flow"
git remote add origin https://github.com/<your-user>/wardrobe-web-ios.git
git push -u origin main
Or with the GitHub CLI: gh repo create wardrobe-web-ios --private --source . --push.
- Never commit
.env(it holds your API key and token)..gitignorealready excludes it, along withdata/,node_modules/anddist/. - The Docker image workflow (
.github/workflows/docker.yml) runs on every push tomainand publishesghcr.io/<your-user>/<repo-name>:latest, named after the repository.- Check it under the repo's Actions tab.
- If the repo is private, the image is private too. Either make the package public (your profile → Packages → → Package settings), or log in on the NAS with a personal access token (
read:packages).
- To use the published image on the NAS, edit
docker-compose.yml: comment out thebuild:block and uncommentimage: ghcr.io/<your-user>/<repo-name>:latest. - If your GitHub username isn't
njarrar, update the clone URL inREADME.mdand the image name indocker-compose.yml.